Name:B.O.B. (Bevy of Beebles)
ManaCost:3 U U
Types:Legendary Planeswalker B.O.B.
Loyalty:0
K:ETBReplacement:Other:TrigFour
SVar:TrigFour:DB$ Token | TokenAmount$ 4 | TokenScript$ u_1_1_beeble | SpellDescription$ As B.O.B. enters, create four 1/1 blue Beeble creature tokens.
T:Mode$ CounterRemovedOnce | ValidCard$ Card.Self | TriggerZones$ Battlefield | CounterType$ LOYALTY | CheckSVar$ Beeb | SVarCompare$ GTLoy | Execute$ TrigSac | Static$ True | TriggerDescription$ The number of loyalty counters on B.O.B. is equal to the number of Beebles you control. (Create or sacrifice Beebles whenever B.O.B. gains or loses loyalty.)
SVar:TrigSac:DB$ Sacrifice | Amount$ Amt | SacValid$ Beeble
SVar:Amt:TriggerCount$Amount
T:Mode$ CounterAddedOnce | ValidCard$ Card.Self | TriggerZones$ Battlefield | CounterType$ LOYALTY | CheckSVar$ Loy | SVarCompare$ GTBeeb | Execute$ TrigCreate | Static$ True | Secondary$ True
SVar:TrigCreate:DB$ Token | TokenAmount$ Amt | TokenScript$ u_1_1_beeble
SVar:Loy:Count$CardCounters.LOYALTY
SVar:Beeb:Count$Valid Beeble.YouCtrl
K:The number of loyalty counters on CARDNAME is equal to the number of Beebles you control.
SVar:NHand:Count$InYourHand
A:AB$ Effect | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Beeble | TgtPrompt$ Select up to X target Beebles | TargetMin$ 0 | TargetMax$ NHand | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | StaticAbilities$ Unblockable | StackDescription$ SpellDescription | SpellDescription$ Up to X target Beebles can't be blocked this turn, where X is the number of cards in your hand.
SVar:Unblockable:Mode$ CantBlockBy | ValidAttacker$ Card.IsRemembered | Description$ These creatures can't be blocked this turn.
A:AB$ Draw | Cost$ SubCounter<1/LOYALTY> | Planeswalker$ True | SpellDescription$ Draw a card.
DeckHas:Ability$Token & Type$Beeble
Oracle:As B.O.B. enters, create four 1/1 blue Beeble creature tokens.\nThe number of loyalty counters on B.O.B. is equal to the number of Beebles you control. (Create or sacrifice Beebles whenever B.O.B. gains or loses loyalty.)\n[+1]: Up to X target Beebles can't be blocked this turn, where X is the number of cards in your hand.\n[-1]: Draw a card.
