- Added Divine Intervention (another silly old card that no one is probably going to play with, but someone had to script it, I guess).

This commit is contained in:
Agetian
2017-09-28 16:35:22 +00:00
parent d7a8534354
commit 118d7d735a
2 changed files with 10 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -5306,6 +5306,7 @@ forge-gui/res/cardsfolder/d/divert.txt -text
forge-gui/res/cardsfolder/d/divination.txt svneol=native#text/plain
forge-gui/res/cardsfolder/d/divine_congregation.txt svneol=native#text/plain
forge-gui/res/cardsfolder/d/divine_favor.txt svneol=native#text/plain
forge-gui/res/cardsfolder/d/divine_intervention.txt -text
forge-gui/res/cardsfolder/d/divine_light.txt -text
forge-gui/res/cardsfolder/d/divine_offering.txt svneol=native#text/plain
forge-gui/res/cardsfolder/d/divine_presence.txt svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Divine Intervention
ManaCost:6 W W
Types:Enchantment
K:etbCounter:INTERVENTION:2
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | ActiveZones$ Battlefield | Execute$ TrigRemoveCtr | TriggerDescription$ At the beginning of your upkeep, remove an intervention counter from CARDNAME. When you remove the last intervention counter from CARDNAME, the game is a draw.
SVar:TrigRemoveCtr:DB$ RemoveCounter | Defined$ Self | CounterType$ INTERVENTION | CounterNum$ 1 | SubAbility$ GameIsADraw
SVar:GameIsADraw:DB$ LosesGame | Defined$ Player | ConditionPresent$ Card.Self+counters_EQ0_INTERVENTION
SVar:Picture:http://www.wizards.com/global/images/magic/general/divine_intervention.jpg
Oracle:Divine Intervention enters the battlefield with two intervention counters on it.\nAt the beginning of your upkeep, remove an intervention counter from Divine Intervention.\nWhen you remove the last intervention counter from Divine Intervention, the game is a draw.