diff options
| author | Caleb <caleb.mabry.15@cnu.edu> | 2022-09-08 00:51:31 -0400 |
|---|---|---|
| committer | Caleb <caleb.mabry.15@cnu.edu> | 2022-09-08 00:51:31 -0400 |
| commit | d99a619e26f38c729d74d8dc585e8ce13236ffb7 (patch) | |
| tree | ec3bb6183eaeed3fe92440b76447b3bb71bc16dc /webAO/dom/redHPD.ts | |
| parent | 84cdbfff31c31eff9e7ba2a1d6c73f6d08ac5e43 (diff) | |
Removed all window functions from client
Diffstat (limited to 'webAO/dom/redHPD.ts')
| -rw-r--r-- | webAO/dom/redHPD.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/webAO/dom/redHPD.ts b/webAO/dom/redHPD.ts new file mode 100644 index 0000000..7b47c23 --- /dev/null +++ b/webAO/dom/redHPD.ts @@ -0,0 +1,9 @@ +import { client } from "../client"; + +/** + * Decrement defense health point. + */ +export function redHPD() { + client.sendHP(1, client.hp[0] - 1); +} +window.redHPD = redHPD;
\ No newline at end of file |
