mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- A more generic implementation for the previous commit.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user