mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-11-14 04:17:19 +01:00
22 lines
3.3 KiB
Plaintext
22 lines
3.3 KiB
Plaintext
|
Name:Takklemaggot
|
||
|
ManaCost:2 B B
|
||
|
Types:Enchantment Aura
|
||
|
K:Enchant creature
|
||
|
A:SP$ Attach | Cost$ 2 B B | ValidTgts$ Creature | AILogic$ Curse
|
||
|
T:Mode$ ChangesZone | ValidCard$ Card.Self+nonAura | Origin$ Battlefield | Destination$ Any | Execute$ DBCleanup | Static$ True
|
||
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||
|
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of the upkeep of enchanted creature's controller, put a -0/-1 counter on that creature.
|
||
|
SVar:TrigPutCounter:AB$ PutCounter | Cost$ 0 | Defined$ Enchanted | CounterType$ M0M1 | CounterNum$ 1
|
||
|
T:Mode$ ChangesZone | ValidCard$ Card.AttachedBy | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigChoose | TriggerDescription$ When enchanted creature dies, that creature's controller chooses a creature that CARDNAME could enchant. If he or she does, return CARDNAME to the battlefield under your control attached to that creature. If he or she doesn't, return CARDNAME to the battlefield under your control as a non-Aura enchantment. It loses "enchant creature" and gains "At the beginning of that player's upkeep, CARDNAME deals 1 damage to him or her."
|
||
|
SVar:TrigChoose:AB$ ChooseCard | Cost$ 0 | Defined$ TriggeredCardController | Choices$ Creature.CanBeEnchantedBy | Mandatory$ True | SubAbility$ DBChangeZone
|
||
|
SVar:DBChangeZone:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | AttachedTo$ ChosenCard | ConditionDefined$ ChosenCard | ConditionPresent$ Creature | ConditionCompare$ GE1 | SubAbility$ DBAnimate
|
||
|
SVar:DBAnimate:DB$ Animate | Defined$ Self | Types$ Enchantment | OverwriteTypes$ True | KeepSupertypes$ True | KeepCardTypes$ True | RemoveKeywords$ Enchant creature | Triggers$ TrigUpkeep | ConditionDefined$ ChosenCard | ConditionPresent$ Creature | ConditionCompare$ EQ0 | SubAbility$ DBPump | Permanent$ True
|
||
|
SVar:DBPump:DB$ Pump | RememberObjects$ TriggeredCardController | SubAbility$ DBChangeZone2 | ConditionDefined$ ChosenCard | ConditionPresent$ Creature | ConditionCompare$ EQ0
|
||
|
SVar:DBChangeZone2:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | ConditionDefined$ ChosenCard | ConditionPresent$ Creature | ConditionCompare$ EQ0
|
||
|
SVar:TrigUpkeep:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.IsRemembered | Execute$ TrigDmg | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of that player's upkeep, CARDNAME deals 1 damage to him or her.
|
||
|
SVar:TrigDmg:AB$ DealDamage | Cost$ 0 | Defined$ Remembered | NumDmg$ 1
|
||
|
SVar:RemAIDeck:True
|
||
|
SVar:RemRandomDeck:True
|
||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/takklemaggot.jpg
|
||
|
Oracle:Enchant creature\nAt the beginning of the upkeep of enchanted creature's controller, put a -0/-1 counter on that creature.\nWhen enchanted creature dies, that creature's controller chooses a creature that Takklemaggot could enchant. If he or she does, return Takklemaggot to the battlefield under your control attached to that creature. If he or she doesn't, return Takklemaggot to the battlefield under your control as a non-Aura enchantment. It loses "enchant creature" and gains "At the beginning of that player's upkeep, Takklemaggot deals 1 damage to him or her."
|