- A more generic implementation for the previous commit.

This commit is contained in:
Agetian
2017-09-28 18:21:48 +00:00
parent 18529f47e7
commit 0a8ce34252
2 changed files with 2 additions and 2 deletions

View File

@@ -884,7 +884,7 @@ public class Game {
} }
for (Card c : p.getOpponents().getCardsIn(ZoneType.Battlefield)) { for (Card c : p.getOpponents().getCardsIn(ZoneType.Battlefield)) {
// Bone Dancer is important when an opponent has it active on the battlefield // Bone Dancer is important when an opponent has it active on the battlefield
if (c.hasSVar("NeedsOrderedGraveyard") && c.getName().equals("Bone Dancer")) { if ("OPPONENT".equals(c.getSVar("NeedsOrderedGraveyard"))) {
return true; return true;
} }
} }

View File

@@ -5,6 +5,6 @@ PT:2/2
T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ DBChangeZone | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, you may put the top creature card of defending player's graveyard onto the battlefield under your control. If you do, CARDNAME assigns no combat damage this turn. T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ DBChangeZone | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, you may put the top creature card of defending player's graveyard onto the battlefield under your control. If you do, CARDNAME assigns no combat damage this turn.
SVar:DBChangeZone:DB$ChangeZoneAll | Cost$ 0 | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.TopGraveyardCreature+DefenderCtrl | GainControl$ True | ChangeNum$ 1 | SubAbility$ DBNoCombatDamage SVar:DBChangeZone:DB$ChangeZoneAll | Cost$ 0 | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.TopGraveyardCreature+DefenderCtrl | GainControl$ True | ChangeNum$ 1 | SubAbility$ DBNoCombatDamage
SVar:DBNoCombatDamage:DB$Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage SVar:DBNoCombatDamage:DB$Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage
SVar:NeedsOrderedGraveyard:TRUE SVar:NeedsOrderedGraveyard:OPPONENT
SVar:Picture:http://www.wizards.com/global/images/magic/general/bone_dancer.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/bone_dancer.jpg
Oracle:Whenever Bone Dancer attacks and isn't blocked, you may put the top creature card of defending player's graveyard onto the battlefield under your control. If you do, Bone Dancer assigns no combat damage this turn. Oracle:Whenever Bone Dancer attacks and isn't blocked, you may put the top creature card of defending player's graveyard onto the battlefield under your control. If you do, Bone Dancer assigns no combat damage this turn.