- Fix Blood Speaker's script to actually use a trigger

This commit is contained in:
Sol
2013-02-16 21:54:36 +00:00
parent d7f3b0b28d
commit bb910781d3

View File

@@ -3,7 +3,10 @@ ManaCost:3 B
Types:Creature Ogre Shaman
Text:no text
PT:3/2
A:AB$ ChangeZone | Cost$ Sac<1/CARDNAME> | Origin$ Library | Destination$ Hand | ChangeType$ Demon | ChangeNum$ 1 | ActivationZone$ Battlefield | ActivationPhases$ Upkeep | PlayerTurn$ True | SpellDescription$ At the beginning of your upkeep, you may sacrifice CARDNAME. If you do, search your library for a Demon card, reveal that card, and put it into your hand. Then shuffle your library.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigSacrifice | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, you may sacrifice CARDNAME. If you do, search your library for a Demon card, reveal that card, and put it into your hand. Then shuffle your library.
SVar:TrigSacrifice:AB$ Sacrifice | Cost$ 0 | Optional$ True | SacValid$ Card.Self | Amount$ 1 | RememberSacrificed$ True | SubAbility$ DBTutorDemon
SVar:DBTutorDemon:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Demon | ChangeNum$ 1 | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ1 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Demon.YouCtrl | TriggerZones$ Graveyard | OptionalDecider$ You | Execute$ TrigReturn | TriggerDescription$ Whenever a Demon enters the battlefield under your control, you may return CARDNAME from your graveyard to your Hand.
SVar:TrigReturn:AB$ ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Graveyard | Destination$ Hand
SVar:Rarity:Uncommon