Merge pull request #1275 from mengxinzxz/PR-Branch

部分文件格式化,技能调整,bugfix
This commit is contained in:
Spmario233 2024-04-27 20:35:14 +08:00 committed by GitHub
commit 647ebf5102
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2468 additions and 7383 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2051,7 +2051,7 @@ export class Get {
return card.split(lib.natureSeparator).sort(lib.sort.nature).join(lib.natureSeparator); 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); if (Array.isArray(card)) return card.sort(lib.sort.nature).join(lib.natureSeparator);
var nature = card.nature; 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); var owner = get.owner(card);
if (owner) { if (owner) {
return game.checkMod(card, owner, nature, "cardnature", owner); return game.checkMod(card, owner, nature, "cardnature", owner);

File diff suppressed because it is too large Load Diff