Name:Campsite Cuisine
ManaCost:1 G
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self,Creature.Legendary+YouCtrl | Execute$ TrigFood | TriggerDescription$ Whenever this enchantment or a legendary creature you control enters, create a Food token.
SVar:TrigFood:DB$ Token | TokenScript$ c_a_food_sac | TokenOwner$ You
T:Mode$ AttackersDeclared | Execute$ TrigImmediateTrig | TriggerZones$ Battlefield | AttackingPlayer$ You | TriggerDescription$ Whenever you attack, you may sacrifice X Foods. When you do, up to X target attacking creatures each get +3/+3 and gain trample and indestructible until end of turn.
SVar:TrigImmediateTrig:AB$ ImmediateTrigger | Cost$ Sac<X/Food> | Execute$ TrigPump | TriggerDescription$ When you do, up to X target attacking creatures each get +3/+3 and gain trample and indestructible until end of turn.
SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.attacking | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select up to X target attacking creatures | NumAtt$ +3 | NumDef$ +3 | KW$ Trample & Indestructible
SVar:X:Count$xPaid
DeckHas:Ability$Token|Sacrifice & Type$Artifact|Food
DeckHints:Type$Legendary & Type$Creature
Oracle:Whenever this enchantment or a legendary creature you control enters, create a Food token.\nWhenever you attack, you may sacrifice X Foods. When you do, up to X target attacking creatures each get +3/+3 and gain trample and indestructible until end of turn.
