【拼命】排除投降事件
This commit is contained in:
parent
8f83f83947
commit
3d511c415b
|
@ -5178,7 +5178,7 @@ const skills = {
|
|||
trigger: { player: "dieBefore" },
|
||||
forced: true,
|
||||
filter(event, player) {
|
||||
return player.maxHp > 0;
|
||||
return player.maxHp > 0 && event.getParent().name != "giveup";
|
||||
},
|
||||
content() {
|
||||
trigger.cancel();
|
||||
|
|
Loading…
Reference in New Issue