Name:Devouring Hellion
ManaCost:2 R
Types:Creature Hellion
PT:2/2
R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ DevourCreatsAndWalkers | ReplacementResult$ Updated | Description$ As CARDNAME enters, 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
SVar:DevourSacX:Count$Valid Creature.YouCtrl+Other,Planeswalker.YouCtrl
SVar:Devour2X:Count$RememberedSize/Times.2
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, you may sacrifice any number of creatures and/or planeswalkers. If you do, it enters with twice that many +1/+1 counters on it.
