Fix intrinsic ETB replacement not working if card enters from sideboard (#6082)

This commit is contained in:
tool4ever
2024-09-06 18:40:11 +02:00
committed by GitHub
parent 45c70b08fd
commit d2af4c2bcb
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ public class ReplacementHandler {
return true; return true;
} }
}); }, affectedCard != null && affectedCard.isInZone(ZoneType.Sideboard));
if (checkAgain) { if (checkAgain) {
if (affectedLKI != null && affectedCard != null) { if (affectedLKI != null && affectedCard != null) {

View File

@@ -3,7 +3,7 @@ ManaCost:2 R G
Types:Legendary Creature Hellion Hydra Types:Legendary Creature Hellion Hydra
PT:0/0 PT:0/0
K:etbCounter:P1P1:X:no Condition:CARDNAME enters with a +1/+1 counter on it for each other red creature you control and a +1/+1 counter on it for each other green creature you control. K:etbCounter:P1P1:X:no Condition:CARDNAME enters with a +1/+1 counter on it for each other red creature you control and a +1/+1 counter on it for each other green creature you control.
A:AB$ DealDamage | Cost$ 1 SubCounter<1/P1P1> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 1 | SpellDescription$ Ulasht deals 1 damage to target creature. A:AB$ DealDamage | Cost$ 1 SubCounter<1/P1P1> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 1 | SpellDescription$ NICKNAME deals 1 damage to target creature.
A:AB$ Token | Cost$ 1 SubCounter<1/P1P1> | TokenAmount$ 1 | TokenScript$ g_1_1_saproling | TokenOwner$ You | SpellDescription$ Create a 1/1 green Saproling creature token. A:AB$ Token | Cost$ 1 SubCounter<1/P1P1> | TokenAmount$ 1 | TokenScript$ g_1_1_saproling | TokenOwner$ You | SpellDescription$ Create a 1/1 green Saproling creature token.
SVar:X:Count$Valid Creature.YouCtrl+Red+Other/Plus.B SVar:X:Count$Valid Creature.YouCtrl+Red+Other/Plus.B
SVar:B:Count$Valid Creature.YouCtrl+Green+Other SVar:B:Count$Valid Creature.YouCtrl+Green+Other