Skip to content

Commit

Permalink
Fix leave GY trigger (#4654)
Browse files Browse the repository at this point in the history
  • Loading branch information
tool4ever authored Feb 9, 2024
1 parent f22ac79 commit aa6ce40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ public void resolve(final SpellAbility sa) {
continue;
}

final CardZoneTable triggerList = new CardZoneTable();
final CardZoneTable triggerList = new CardZoneTable(game.getLastStateBattlefield(), game.getLastStateGraveyard());
final Zone originZone = tgtCard.getZone();

// lands will be played
Expand Down
2 changes: 1 addition & 1 deletion forge-gui/res/cardsfolder/a/anrakyr_the_traveller.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Name:Anrakyr the Traveller
ManaCost:4 B
Types:Legendary Artifact Creature Necron
PT:4/4
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigCast | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks, you may cast an artifact spell from your hand or graveyard by paying life equal to its mana value rather than paying its mana cost.
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigCast | OptionalDecider$ You | TriggerDescription$ Lord of the Pyrrhian Legions — Whenever CARDNAME attacks, you may cast an artifact spell from your hand or graveyard by paying life equal to its mana value rather than paying its mana cost.
SVar:TrigCast:DB$ Play | ValidZone$ Hand,Graveyard | Valid$ Artifact.YouOwn | ValidSA$ Spell | Controller$ You | Optional$ True | Amount$ 1 | PlayCost$ PayLife<ConvertedManaCost>
SVar:HasAttackEffect:TRUE
DeckHas:Ability$Graveyard
Expand Down

0 comments on commit aa6ce40

Please sign in to comment.