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