mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Added Heart of Bogardan
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||||
|
|||||||
10
res/cardsfolder/h/heart_of_bogardan.txt
Normal file
10
res/cardsfolder/h/heart_of_bogardan.txt
Normal 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.
|
||||||
@@ -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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user