mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
18 lines
1.5 KiB
Plaintext
18 lines
1.5 KiB
Plaintext
Name:Devouring Hellion
|
|
ManaCost:2 R
|
|
Types:Creature Hellion
|
|
PT:2/2
|
|
R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ DevourCreatsAndWalkers | Description$ As CARDNAME enters the battlefield, you may sacrifice any number of creatures and/or planeswalkers. If you do, it enters with twice that many +1/+1 counters on it.
|
|
SVar:DevourCreatsAndWalkers:DB$ Sacrifice | Defined$ You | Amount$ DevourSacX | SacValid$ Creature.Other,Planeswalker | SacMessage$ any number of creatures and/or planeswalkers | RememberSacrificed$ True | Optional$ True | SubAbility$ DevourCounters
|
|
SVar:DevourCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Devour2X | ETB$ True | SubAbility$ DevourCleanup
|
|
SVar:DevourCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DevourETB
|
|
SVar:DevourETB:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard
|
|
SVar:DevourSacX:Count$Valid Creature.YouCtrl+Other/Plus.DevourSacY
|
|
SVar:DevourSacY:Count$Valid Planeswalker.YouCtrl
|
|
SVar:Devour2X:SVar$DevourSize/Times.2
|
|
SVar:DevourSize:Count$RememberedSize
|
|
AI:RemoveDeck:All
|
|
# TODO: Figure out a way to make an AIPreference that would work for this kind of ability, e.g.:
|
|
# SVar:AIPreference:Sacrifice$Creature.cmcLE3,Planeswalker.counters_LE2_LOYALTY
|
|
DeckHas:Ability$Counters
|
|
Oracle:As Devouring Hellion enters the battlefield, you may sacrifice any number of creatures and/or planeswalkers. If you do, it enters with twice that many +1/+1 counters on it. |