Name:Dockside Extortionist
ManaCost:1 R
Types:Creature Goblin Pirate
PT:1/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBTreasureTokens | TriggerDescription$ When CARDNAME enters, create X Treasure tokens, where X is the number of artifacts and enchantments your opponents control.
SVar:DBTreasureTokens:DB$ Token | TokenAmount$ X | TokenScript$ c_a_treasure_sac | TokenOwner$ You
SVar:X:Count$Valid Artifact.OppCtrl,Enchantment.OppCtrl
SVar:PlayMain1:TRUE
Oracle:When Dockside Extortionist enters, create X Treasure tokens, where X is the number of artifacts and enchantments your opponents control. (Treasure tokens are artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.")
