Merge branch 'equipExtras' into 'master'

CardFactoryUtil: add way to add Extra Parameters and Extra Description

See merge request core-developers/forge!4980
This commit is contained in:
Michael Kamensky
2021-07-11 04:01:28 +00:00
7 changed files with 48 additions and 12 deletions

View File

@@ -0,0 +1,7 @@
Name:Belt of Giant Strength
ManaCost:1 G
Types:Artifact Equipment
S:Mode$ Continuous | Affected$ Creature.EquippedBy | SetPower$ 10 | SetToughness$ 10 | Description$ Equipped creature has base power and toughness 10/10.
K:Equip:10:::ReduceCost$ X:This ability costs {X} less to activate where X is the power of the creature it targets.
SVar:X:Targeted$CardPower
Oracle:Equipped creature has base power and toughness 10/10.\nEquip {10}. This ability costs {X} less to activate where X is the power of the creature it targets.

View File

@@ -3,9 +3,9 @@ ManaCost:3
Types:Legendary Artifact Equipment
T:Mode$Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, equipped creature or a creature you control named Vecna gets +X/+X until end of turn, where X is the number of cards in your hand.
SVar:TrigChoose:DB$ ChooseCard | Choices$ Creature.EquippedBy,Creature.YouCtrl+namedVecna | SubAbility$ DBPump
SVar:DBPump:DB$ Pump | Defined$ ChosenCard | NumAtt$ +X | NumDef$ +X | SubAbility$ DBCleanup
SVar:DBPump:DB$ Pump | Defined$ ChosenCard | NumAtt$ +X | NumDef$ +X | Mandatory$ True | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True
K:Equip:PayLife<X>
K:Equip:PayLife<X/1 life for each card in your hand>
K:Equip:2
SVar:X:Count$CardsInYourHand
DeckHints:Name$Eye of Vecna|The Book of Vile Darkness

View File

@@ -0,0 +1,6 @@
Name:Leather Armor
ManaCost:1
Types:Artifact Equipment
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddToughness$ 1 | AddKeyword$ Ward:1 | Description$ Equipped creature gets +0/+1 and has ward {1}. (Whenever equipped creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.)
K:Equip:0:::ActivationLimit$ 1:Activate only once each turn
Oracle:Equipped creature gets +0/+1 and has ward {1}. (Whenever equipped creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.)\nEquip {0}. Activate only once each turn.

View File

@@ -0,0 +1,7 @@
Name:Plate Armor
ManaCost:2 W
Types:Artifact Equipment
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 3 | AddToughness$ 3 | AddKeyword$ Ward:1 | Description$ Equipped creature gets +3/+3 and has ward {1}. (Whenever equipped creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.)
K:Equip:3:::ReduceCost$ Y:This ability costs {1} less to activate for each other Equipment you control
SVar:Y:Count$Valid Equipment.YouCtrl+Other
Oracle:Equipped creature gets +3/+3 and has ward {1}. (Whenever equipped creature becomes the target of a spell or ability an opponent controls, counter it unless that player pays {1}.)\nEquip {3}. This ability costs {1} less to activate for each other Equipment you control.