Name:Goblin Bomb
ManaCost:1 R
Types:Enchantment
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigFlip | TriggerDescription$ At the beginning of your upkeep, you may flip a coin. If you win the flip, put a fuse counter on CARDNAME. If you lose the flip, remove a fuse counter from CARDNAME.
SVar:TrigFlip:DB$ FlipACoin | WinSubAbility$ DBAddCounter | LoseSubAbility$ DBRemoveCounter
SVar:DBAddCounter:DB$ PutCounter | Defined$ Self | CounterType$ FUSE | CounterNum$ 1
SVar:DBRemoveCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ FUSE | CounterNum$ 1
A:AB$ DealDamage | Cost$ SubCounter<5/FUSE> Sac<1/CARDNAME> | ValidTgts$ Player,Planeswalker | TgtPrompt$ Choose target player or planeswalker | NumDmg$ 20 | SpellDescription$ It deals 20 damage to target player or planeswalker.
DeckHas:Ability$Counters|Sacrifice
Oracle:At the beginning of your upkeep, you may flip a coin. If you win the flip, put a fuse counter on Goblin Bomb. If you lose the flip, remove a fuse counter from Goblin Bomb.\nRemove five fuse counters from Goblin Bomb and sacrifice it: It deals 20 damage to target player or planeswalker.
