mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Added the option "ClearChosenX" to AF Cleanup and fixed Myr Battlesphere.
This commit is contained in:
@@ -6,7 +6,8 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S
|
||||
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:DBDealDamage:DB$ DealDamage | Cost$ 0 | Defined$ Opponent | NumDmg$ ChosenX | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearChosenX$ True
|
||||
SVar:X:XChoice
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/myr_battlesphere.jpg
|
||||
|
||||
@@ -74,6 +74,9 @@ public final class AbilityFactoryCleanup {
|
||||
if (params.containsKey("ClearImprinted")) {
|
||||
sa.getSourceCard().clearImprinted();
|
||||
}
|
||||
if (params.containsKey("ClearChosenX")) {
|
||||
sa.getSourceCard().setSVar("ChosenX", "");
|
||||
}
|
||||
}
|
||||
|
||||
} // end class AbilityFactory_Cleanup
|
||||
|
||||
Reference in New Issue
Block a user