mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-24 05:31:26 -05:00
Merge pull request #109 from FreezePhoenix/patch-13
Fix throw skill to pierce immunity
This commit is contained in:
+1
-1
@@ -8461,7 +8461,7 @@ function init_io() {
|
|||||||
xy_emit(player, "ui", { type: data.name, name: player.name });
|
xy_emit(player, "ui", { type: data.name, name: player.name });
|
||||||
player.to_resend = "u+cid";
|
player.to_resend = "u+cid";
|
||||||
} else if (data.name == "throw") {
|
} else if (data.name == "throw") {
|
||||||
if (target.s.invincible || target.immune) {
|
if (target.s.invincible) {
|
||||||
return fail_response("target_invincible", data.name);
|
return fail_response("target_invincible", data.name);
|
||||||
}
|
}
|
||||||
var item = player.items[data.num];
|
var item = player.items[data.num];
|
||||||
|
|||||||
Reference in New Issue
Block a user