- Added Myr Battlesphere.

This commit is contained in:
Sloth
2011-10-03 18:28:37 +00:00
parent 30ca292fe1
commit 5604b34bf3
3 changed files with 18 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -5176,6 +5176,7 @@ res/cardsfolder/m/mycosynth_fiend.txt svneol=native#text/plain
res/cardsfolder/m/mycosynth_golem.txt svneol=native#text/plain
res/cardsfolder/m/mycosynth_wellspring.txt svneol=native#text/plain
res/cardsfolder/m/myr_adapter.txt svneol=native#text/plain
res/cardsfolder/m/myr_battlesphere.txt -text
res/cardsfolder/m/myr_enforcer.txt svneol=native#text/plain
res/cardsfolder/m/myr_galvanizer.txt svneol=native#text/plain
res/cardsfolder/m/myr_incubator.txt svneol=native#text/plain

View File

@@ -0,0 +1,15 @@
Name:Myr Battlesphere
ManaCost:7
Types:Artifact Creature Myr Construct
PT:4/7
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, put four 1/1 colorless Myr artifact creature tokens onto the battlefield.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ 4 | TokenName$ Myr | TokenTypes$ Artifact,Creature,Myr | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 1 | TokenToughness$ 1
T:Mode$ Attacks | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, you may tap X untapped Myr you control. If you do, CARDNAME gets +X/+0 until end of turn and deals X damage to defending player.
SVar:TrigPump:AB$ Pump | Cost$ tapXType<X/Myr> | NumAtt$ +ChosenX | NumDef$ +0 | SubAbility$ DBDealDamage
SVar:DBDealDamage:DB$ DealDamage | Cost$ 0 | Defined$ Opponent | NumDmg$ ChosenX
SVar:X:XChoice
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/myr_battlesphere.jpg
SetInfo:MBS|Rare|http://magiccards.info/scans/en/som/180.jpg
Oracle:When Myr Battlesphere enters the battlefield, put four 1/1 colorless Myr artifact creature tokens onto the battlefield.\nWhenever Myr Battlesphere attacks, you may tap X untapped Myr you control. If you do, Myr Battlesphere gets +X/+0 until end of turn and deals X damage to defending player.
End

View File

@@ -1338,6 +1338,8 @@ public class AbilityFactory {
return 0;
}
}
if(amount.equals("ChosenX")) //this is for the case that the choice isn't made yet
return 0;
return Integer.parseInt(amount) * multiplier;
}