diff options
Diffstat (limited to 'webAO/dom/addHPD.ts')
| -rw-r--r-- | webAO/dom/addHPD.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/webAO/dom/addHPD.ts b/webAO/dom/addHPD.ts new file mode 100644 index 0000000..8f7e1f7 --- /dev/null +++ b/webAO/dom/addHPD.ts @@ -0,0 +1,9 @@ +import { client } from "../client"; + +/** + * Increment defense health point. + */ +export function addHPD() { + client.sender.sendHP(1, client.hp[0] + 1); +} +window.addHPD = addHPD;
\ No newline at end of file |
