【拒武】判断属性

This commit is contained in:
157 2024-04-20 13:03:35 +08:00
parent b59024e95f
commit a502b0bdf8
1 changed files with 5 additions and 1 deletions

View File

@ -703,7 +703,10 @@ game.import("character", function () {
dragjuwu: { dragjuwu: {
trigger: { target: "shaBefore" }, trigger: { target: "shaBefore" },
filter(event, player) { filter(event, player) {
return game.countPlayer((target) => event.player.inRange(target)) >= 3; return (
!game.hasNature(event.card) &&
game.countPlayer((target) => event.player.inRange(target)) >= 3
);
}, },
forced: true, forced: true,
content() { content() {
@ -714,6 +717,7 @@ game.import("character", function () {
target(card, player, target) { target(card, player, target) {
if ( if (
card.name == "sha" && card.name == "sha" &&
!game.hasNature(card) &&
game.countPlayer((targetx) => player.inRange(targetx)) >= 3 game.countPlayer((targetx) => player.inRange(targetx)) >= 3
) )
return "zerotarget"; return "zerotarget";