mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Experimental: for Dingus Egg, do not check the time stamp of the card that changed zone (fixes interaction with Sacred Ground). Should this be the default behavior for ChangesZone triggers that do not seem to care for how many times the card had changed zones before the trigger resolves?
This commit is contained in:
@@ -451,7 +451,10 @@ public class WrappedAbility extends Ability {
|
|||||||
Card card = (Card) o;
|
Card card = (Card) o;
|
||||||
Card current = game.getCardState(card);
|
Card current = game.getCardState(card);
|
||||||
if (current.getTimestamp() != card.getTimestamp()) {
|
if (current.getTimestamp() != card.getTimestamp()) {
|
||||||
sa.getTriggerRemembered().remove(o);
|
// TODO: figure out if NoTimestampCheck should be the default for ChangesZone triggers
|
||||||
|
if (!triggerParams.containsKey("NoTimestampCheck")) {
|
||||||
|
sa.getTriggerRemembered().remove(o);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -461,7 +464,10 @@ public class WrappedAbility extends Ability {
|
|||||||
Card card = (Card) ev.getValue();
|
Card card = (Card) ev.getValue();
|
||||||
Card current = game.getCardState(card);
|
Card current = game.getCardState(card);
|
||||||
if (card.isInPlay() && current.isInPlay() && current.getTimestamp() != card.getTimestamp()) {
|
if (card.isInPlay() && current.isInPlay() && current.getTimestamp() != card.getTimestamp()) {
|
||||||
sa.getTriggeringObjects().remove(ev.getKey());
|
// TODO: figure out if NoTimestampCheck should be the default for ChangesZone triggers
|
||||||
|
if (!triggerParams.containsKey("NoTimestampCheck")) {
|
||||||
|
sa.getTriggeringObjects().remove(ev.getKey());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
Name:Dingus Egg
|
Name:Dingus Egg
|
||||||
ManaCost:4
|
ManaCost:4
|
||||||
Types:Artifact
|
Types:Artifact
|
||||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Land | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever a land is put into a graveyard from the battlefield, CARDNAME deals 2 damage to that land's controller.
|
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Land | TriggerZones$ Battlefield | Execute$ TrigDamage | NoTimestampCheck$ True | TriggerDescription$ Whenever a land is put into a graveyard from the battlefield, CARDNAME deals 2 damage to that land's controller.
|
||||||
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | Defined$ TriggeredCardController | NumDmg$ 2
|
SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredCardController | NumDmg$ 2
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/dingus_egg.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/dingus_egg.jpg
|
||||||
Oracle:Whenever a land is put into a graveyard from the battlefield, Dingus Egg deals 2 damage to that land's controller.
|
Oracle:Whenever a land is put into a graveyard from the battlefield, Dingus Egg deals 2 damage to that land's controller.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ ManaCost:1 W
|
|||||||
Types:Enchantment
|
Types:Enchantment
|
||||||
T:Mode$ Sacrificed | ValidCard$ Land.YouOwn | ValidSourceController$ Player.Opponent | Execute$ TrigReturn | TriggerZones$ Battlefield | TriggerDescription$ Whenever a spell or ability an opponent controls causes a land to be put into your graveyard from the battlefield, return that card to the battlefield.
|
T:Mode$ Sacrificed | ValidCard$ Land.YouOwn | ValidSourceController$ Player.Opponent | Execute$ TrigReturn | TriggerZones$ Battlefield | TriggerDescription$ Whenever a spell or ability an opponent controls causes a land to be put into your graveyard from the battlefield, return that card to the battlefield.
|
||||||
T:Mode$ Destroyed | ValidCauser$ Player.Opponent | ValidCard$ Land.YouOwn | Execute$ TrigReturn | Secondary$ True | TriggerZones$ Battlefield | TriggerDescription$ Whenever a spell or ability an opponent controls causes a land to be put into your graveyard from the battlefield, return that card to the battlefield.
|
T:Mode$ Destroyed | ValidCauser$ Player.Opponent | ValidCard$ Land.YouOwn | Execute$ TrigReturn | Secondary$ True | TriggerZones$ Battlefield | TriggerDescription$ Whenever a spell or ability an opponent controls causes a land to be put into your graveyard from the battlefield, return that card to the battlefield.
|
||||||
SVar:TrigReturn:AB$ ChangeZone | Cost$ 0 | Defined$ TriggeredCard | Origin$ Graveyard | Destination$ Battlefield
|
SVar:TrigReturn:DB$ ChangeZone | Defined$ TriggeredCard | Origin$ Graveyard | Destination$ Battlefield
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/sacred_ground.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/sacred_ground.jpg
|
||||||
Oracle:Whenever a spell or ability an opponent controls causes a land to be put into your graveyard from the battlefield, return that card to the battlefield.
|
Oracle:Whenever a spell or ability an opponent controls causes a land to be put into your graveyard from the battlefield, return that card to the battlefield.
|
||||||
|
|||||||
Reference in New Issue
Block a user