Name:Fblthp, the Lost
ManaCost:1 U
Types:Legendary Creature Homunculus
PT:1/1
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBDraw | TriggerDescription$ When CARDNAME enters, draw a card. If it enters from your library or was cast from your library, draw two cards instead.
SVar:DBDraw:DB$ Draw | NumCards$ DrawNum
SVar:DrawNum:SVar$LibNum1/LimitMax.2
SVar:LibNum1:Count$wasCastFromYourLibrary.2.1/Plus.LibNum2
SVar:LibNum2:TriggeredCardLKI$Valid Card.inZoneLibrary
T:Mode$ BecomesTarget | ValidTarget$ Card.Self | ValidSource$ Spell | TriggerZones$ Battlefield | Execute$ TrigShuffle | TriggerDescription$ When NICKNAME becomes the target of a spell, shuffle NICKNAME into its owner's library.
SVar:TrigShuffle:DB$ ChangeZone | Origin$ Battlefield | Destination$ Library | Shuffle$ True | Defined$ Self
Oracle:When Fblthp, the Lost enters, draw a card. If it entered from your library or was cast from your library, draw two cards instead.\nWhen Fblthp becomes the target of a spell, shuffle Fblthp into its owner's library.
