mtg-forge-ios/forge-gui/res/cardsfolder/b/builders_bane.txt

13 lines
1.0 KiB
Plaintext

Name:Builder's Bane
ManaCost:X X R
Types:Sorcery
A:SP$ Destroy | Cost$ X X R | ValidTgts$ Artifact | TargetMin$ 0 | TargetMax$ Maxtgt | References$ X,Maxtgt | RememberTargets$ True | SubAbility$ DBRepeat | StackDescription$ SpellDescription | SpellDescription$ Destroy X target artifacts. CARDNAME deals damage to each player equal to the number of artifacts he or she controlled put into a graveyard this way.
SVar:Maxtgt:Count$Valid Artifact
SVar:X:TargetedObjects$Amount
SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBDmg | SubAbility$ DBCleanup
SVar:DBDmg:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ Y | References$ Y
SVar:Y:Count$ValidGraveyard Artifact.IsRemembered+RememberedPlayerCtrl
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/builders_bane.jpg
Oracle:Destroy X target artifacts. Builder's Bane deals damage to each player equal to the number of artifacts he or she controlled put into a graveyard this way.