Merge pull request #109 from FreezePhoenix/patch-13

Fix throw skill to pierce immunity
This commit is contained in:
Kaan Soral
2024-02-21 16:06:49 +03:00
committed by GitHub
+1 -1
View File
@@ -8461,7 +8461,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];