diff --git a/node/server.js b/node/server.js index ccc0b87c..2ef941f4 100644 --- a/node/server.js +++ b/node/server.js @@ -8255,7 +8255,6 @@ function init_io() { "purify", "quickpunch", "quickstab", - "selfheal", "smash", "snowball", "supershot", @@ -8270,6 +8269,14 @@ function init_io() { reject = attack; cool = false; } + } else if (data.name == "selfheal") { + const attack = commence_attack(player, player, data.name); + if (!attack.failed) { + resolve = attack; + } else { + reject = attack; + cool = false; + } } else if (data.name == "invis" && !player.s.invis) { if (player.s.marked) { return fail_response("skill_cant_use", data.name);