- A more generic implementation for the previous commit.

git-svn-id: http://svn.slightlymagic.net/forge/trunk@35822 269b9781-a132-4a9b-9d4e-f004f1b56b58
This commit is contained in:
Agetian 2017-09-28 18:21:48 +00:00
parent f9d5ed6292
commit c6025710a4
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)) {
// 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;
}
}

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.
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:NeedsOrderedGraveyard:TRUE
SVar:NeedsOrderedGraveyard:OPPONENT
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.