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