- Added Heart of Bogardan

This commit is contained in:
swordshine
2013-06-29 05:34:03 +00:00
parent 1172a542fd
commit 0e2c6131f6
3 changed files with 12 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -4922,6 +4922,7 @@ res/cardsfolder/h/healers_headdress.txt -text
res/cardsfolder/h/healing_leaves.txt svneol=native#text/plain res/cardsfolder/h/healing_leaves.txt svneol=native#text/plain
res/cardsfolder/h/healing_salve.txt svneol=native#text/plain res/cardsfolder/h/healing_salve.txt svneol=native#text/plain
res/cardsfolder/h/heap_doll.txt svneol=native#text/plain res/cardsfolder/h/heap_doll.txt svneol=native#text/plain
res/cardsfolder/h/heart_of_bogardan.txt -text
res/cardsfolder/h/heart_of_light.txt svneol=native#text/plain res/cardsfolder/h/heart_of_light.txt svneol=native#text/plain
res/cardsfolder/h/heart_of_ramos.txt svneol=native#text/plain res/cardsfolder/h/heart_of_ramos.txt svneol=native#text/plain
res/cardsfolder/h/heart_of_yavimaya.txt svneol=native#text/plain res/cardsfolder/h/heart_of_yavimaya.txt svneol=native#text/plain

View File

@@ -0,0 +1,10 @@
Name:Heart of Bogardan
ManaCost:2 R R
Types:Enchantment
K:Cumulative upkeep:2
T:Mode$ PayCumulativeUpkeep | ValidCard$ Card.Self | Paid$ False | Execute$ TrigDmg | TriggerDescription$ When a player doesn't pay CARDNAME's cumulative upkeep, CARDNAME deals X damage to target player and each creature he or she controls, where X is twice the number of age counters on CARDNAME minus 2.
SVar:TrigDmg:AB$ DamageAll | Cost$ 0 | NumDmg$ Y | ValidTgts$ Player | TgtPrompt$ Select a player | ValidCards$ Creature | ValidPlayers$ Targeted | ValidDescription$ target player and each creature he or she controls. | References$ X,Y | SpellDescription$ CARDNAME deals X damage to target player and each creature he or she controls.
SVar:X:TriggeredCard$CardCounters.AGE/Twice
SVar:Y:SVar$X/Minus.2
SVar:Picture:http://www.wizards.com/global/images/magic/general/heart_of_bogardan.jpg
Oracle:Cumulative upkeep {2} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.)\nWhen a player doesn't pay Heart of Bogardan's cumulative upkeep, Heart of Bogardan deals X damage to target player and each creature he or she controls, where X is twice the number of age counters on Heart of Bogardan minus 2.

View File

@@ -69,5 +69,6 @@ public class TriggerPayCumulativeUpkeep extends Trigger {
/** {@inheritDoc} */ /** {@inheritDoc} */
@Override @Override
public final void setTriggeringObjects(final SpellAbility sa) { public final void setTriggeringObjects(final SpellAbility sa) {
sa.setTriggeringObject("Card", this.getRunParams().get("Card"));
} }
} }