修复非h区(比如s区)的牌会受到mod影响属性的bug

This commit is contained in:
mengxinzxz 2024-04-26 22:53:40 +08:00
parent 3c848744b5
commit 4691280ce9
1 changed files with 1 additions and 1 deletions

View File

@ -2051,7 +2051,7 @@ export class Get {
return card.split(lib.natureSeparator).sort(lib.sort.nature).join(lib.natureSeparator);
if (Array.isArray(card)) return card.sort(lib.sort.nature).join(lib.natureSeparator);
var nature = card.nature;
if (get.itemtype(player) == "player" || player !== false) {
if (get.itemtype(player) == "player" || (player !== false && get.position(card) == "h")) {
var owner = get.owner(card);
if (owner) {
return game.checkMod(card, owner, nature, "cardnature", owner);