Fix throw skill to pierce immunity

In G.skills.throw, the throw skill is documented at piercing immunity. This makes that true.
This commit is contained in:
FreezePhoenix
2024-02-17 10:18:48 -05:00
committed by GitHub
parent cc4717548d
commit e8d743ee2d
+1 -1
View File
@@ -8468,7 +8468,7 @@ function init_io() {
xy_emit(player, "ui", { type: data.name, name: player.name });
player.to_resend = "u+cid";
} else if (data.name == "throw") {
if (target.s.invincible || target.immune) {
if (target.s.invincible) {
return fail_response("target_invincible", data.name);
}
var item = player.items[data.num];