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