- "may search his or her library" script fixed by Diogenes.

This commit is contained in:
Sloth
2013-06-05 06:13:37 +00:00
parent 077eb79e65
commit c3af7e1511
11 changed files with 12 additions and 10 deletions

View File

@@ -4,7 +4,7 @@ Types:Creature Giant Warrior
PT:8/8
K:Trample
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ When CARDNAME enters the battlefield, each opponent may search his or her library for a creature card and put it onto the battlefield. Then each player who searched his or her library this way shuffles it.
SVar:TrigChange:AB$ ChangeZone | Cost$ 0 | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature | DefinedPlayer$ Player.Opponent | ChangeNum$ 1
SVar:TrigChange:AB$ ChangeZone | Optional$ True | Cost$ 0 | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature | DefinedPlayer$ Player.Opponent | ChangeNum$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/boldwyr_heavyweights.jpg
Oracle:Trample\nWhen Boldwyr Heavyweights enters the battlefield, each opponent may search his or her library for a creature card and put it onto the battlefield. Then each player who searched his or her library this way shuffles it.
SetInfo:MOR Rare

View File

@@ -3,7 +3,7 @@ ManaCost:no cost
Types:Land
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
A:AB$ Destroy | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Land | TgtPrompt$ Select target land. | SubAbility$ DBChange | SpellDescription$ Destroy target land. Its controller may search his or her library for a basic land card, put it onto the battlefield, then shuffle his or her library.
SVar:DBChange:DB$ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ 1 | DefinedPlayer$ TargetedController
SVar:DBChange:DB$ChangeZone | Optional$ True | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ 1 | DefinedPlayer$ TargetedController
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/ghost_quarter.jpg
Oracle:{T}: Add {1} to your mana pool.\n{T}, Sacrifice Ghost Quarter: Destroy target land. Its controller may search his or her library for a basic land card, put it onto the battlefield, then shuffle his or her library.

View File

@@ -5,6 +5,8 @@ A:SP$ DestroyAll | Cost$ 2 B B B | ValidCards$ Creature.nonBlack | RememberDestr
SVar:DBDealDamage:DB$DealDamage | NumDmg$ X | Defined$ You | References$ X
SVar:X:Remembered$Amount.Plus.3
# Remember Destroyed still isn't quite right since Hellfire cares about Replacement effects too
SVar:NeedsToPlayVar:Y GE5
SVar:Y:Count$YourLifeTotal
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/hellfire.jpg
Oracle:Destroy all nonblack creatures. Hellfire deals X plus 3 damage to you, where X is the number of creatures that died this way.

View File

@@ -3,7 +3,7 @@ ManaCost:3 R
Types:Creature Giant
PT:4/4
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ When CARDNAME enters the battlefield, each other player may search his or her library for a land card and put that card onto the battlefield. Then each player who searched his or her library this way shuffles it.
SVar:TrigChange:AB$ ChangeZone | Cost$ 0 | Origin$ Library | Destination$ Battlefield | ChangeType$ Land | DefinedPlayer$ Player.Other | ChangeNum$ 1
SVar:TrigChange:AB$ ChangeZone | Optional$ True | Cost$ 0 | Origin$ Library | Destination$ Battlefield | ChangeType$ Land | DefinedPlayer$ Player.Other | ChangeNum$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/hired_giant.jpg
Oracle:When Hired Giant enters the battlefield, each other player may search his or her library for a land card and put that card onto the battlefield. Then each player who searched his or her library this way shuffles it.
SetInfo:MMQ Uncommon

View File

@@ -3,7 +3,7 @@ ManaCost:2 G G
Types:Sorcery
A:SP$ RepeatEach | Cost$ 2 G G | RepeatPlayers$ Player | RepeatSubAbility$ BalanceLands | AILogic$ BalanceLands | SpellDescription$ Each player who controls six or more lands chooses five lands he or she controls and sacrifices the rest. Each player who controls four or fewer lands may search his or her library for up to X basic land cards and put them onto the battlefield, where X is five minus the number of lands he or she controls. Then each player who searched his or her library this way shuffles it.
SVar:BalanceLands:DB$ Sacrifice | SacValid$ Land | Amount$ SacX | Defined$ Remembered | ConditionCheckSVar$ SacX | ConditionSVarCompare$ GT0 | SubAbility$ FetchLands
SVar:FetchLands:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ FetchX | DefinedPlayer$ Remembered | ConditionCheckSVar$ FetchX | ConditionSVarCompare$ GT0
SVar:FetchLands:DB$ ChangeZone | Optional$ True | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ FetchX | DefinedPlayer$ Remembered | ConditionCheckSVar$ FetchX | ConditionSVarCompare$ GT0
SVar:LandsControlled:Count$Valid Land.RememberedPlayerCtrl
SVar:SacX:SVar$LandsControlled/Minus.5
SVar:FetchX:Number$5/Minus.LandsControlled

View File

@@ -1,7 +1,7 @@
Name:New Frontiers
ManaCost:X G
Types:Sorcery
A:SP$ ChangeZone | Cost$ X G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | DefinedPlayer$ Each | ChangeNum$ X | Tapped$ True | References$ X | Shuffle$ True | SpellDescription$ Each player may search his or her library for up to X basic land cards and put them onto the battlefield tapped. Then each player who searched his or her library this way shuffles it.
A:SP$ ChangeZone | Optional$ True | Cost$ X G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | DefinedPlayer$ Each | ChangeNum$ X | Tapped$ True | References$ X | Shuffle$ True | SpellDescription$ Each player may search his or her library for up to X basic land cards and put them onto the battlefield tapped. Then each player who searched his or her library this way shuffles it.
SVar:X:Count$xPaid
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/new_frontiers.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:2 U
Types:Creature Human Cleric
PT:2/2
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigChangeZone | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, each player may search his or her library for a card and put that card into his or her hand. Then each player who searched his or her library this way shuffles it.
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | DefinedPlayer$ Each | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ 1 | Shuffle$ True
SVar:TrigChangeZone:AB$ChangeZone | Optional$ True | Cost$ 0 | DefinedPlayer$ Each | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ 1 | Shuffle$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/noble_benefactor.jpg
Oracle:When Noble Benefactor dies, each player may search his or her library for a card and put that card into his or her hand. Then each player who searched his or her library this way shuffles it.
SetInfo:WTH Uncommon

View File

@@ -4,7 +4,7 @@ Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 3 G | ValidTgts$ Creature | AILogic$ Pump
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.AttachedBy | Execute$ TrigSearch | TriggerDescription$ When enchanted creature dies, that creature's controller may search his or her library for a creature card and put that card onto the battlefield. If that player does, he or she shuffles his or her library.
SVar:TrigSearch:AB$ChangeZone | Cost$ 0 | DefinedPlayer$ TriggeredCardController | ChangeType$ Creature | ChangeNum$ 1 | Hidden$ True | Origin$ Library | Destination$ Battlefield | Shuffle$ True
SVar:TrigSearch:AB$ChangeZone | Optional$ True | Cost$ 0 | DefinedPlayer$ TriggeredCardController | ChangeType$ Creature | ChangeNum$ 1 | Hidden$ True | Origin$ Library | Destination$ Battlefield | Shuffle$ True
S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddSVar$ Sac
SVar:Sac:SVar:SacMe:5
SVar:Picture:http://www.wizards.com/global/images/magic/general/pattern_of_rebirth.jpg

View File

@@ -2,7 +2,7 @@ Name:Verdant Succession
ManaCost:4 G
Types:Enchantment
T:Mode$ ChangesZone | ValidCard$ Creature.Green+nonToken | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | Execute$ TrigSearch | TriggerDescription$ Whenever a green nontoken creature dies, that creature's controller may search his or her library for a card with the same name as that creature and put it onto the battlefield. If that player does, he or she shuffles his or her library.
SVar:TrigSearch:AB$ ChangeZone | Cost$ 0 | DefinedPlayer$ TriggeredCardController | ChangeType$ Triggered.sameName | ChangeNum$ 1 | Origin$ Library | Destination$ Battlefield | Hidden$ True | OptionalDecider$ You
SVar:TrigSearch:AB$ ChangeZone | Optional$ True | Cost$ 0 | DefinedPlayer$ TriggeredCardController | ChangeType$ Triggered.sameName | ChangeNum$ 1 | Origin$ Library | Destination$ Battlefield | Hidden$ True | OptionalDecider$ You
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/verdant_succession.jpg
Oracle:Whenever a green nontoken creature dies, that creature's controller may search his or her library for a card with the same name as that creature and put it onto the battlefield. If that player does, he or she shuffles his or her library.

View File

@@ -3,7 +3,7 @@ ManaCost:G
Types:Creature Human Soldier Scout
PT:1/1
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChange | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, each player may search his or her library for up to two basic land cards and put them onto the battlefield. Then each player who searched his or her library this way shuffles it.
SVar:TrigChange:AB$ChangeZone | Cost$ 0 | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | DefinedPlayer$ Each | ChangeNum$ 2 | Shuffle$ True
SVar:TrigChange:AB$ChangeZone | Optional$ True | Cost$ 0 | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | DefinedPlayer$ Each | ChangeNum$ 2 | Shuffle$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/veteran_explorer.jpg
Oracle:When Veteran Explorer dies, each player may search his or her library for up to two basic land cards and put them onto the battlefield. Then each player who searched his or her library this way shuffles it.
SetInfo:WTH Uncommon

View File

@@ -1,7 +1,7 @@
Name:Weird Harvest
ManaCost:X G G
Types:Sorcery
A:SP$ ChangeZone | Cost$ X G G | Origin$ Library | Destination$ Hand | DefinedPlayer$ Each | ChangeType$ Card.Creature | Reveal$ True | Shuffle$ True | ChangeNum$ X | References$ X | SpellDescription$ Each player may search his or her library for up to X creature cards, reveal those cards, and put them into his or her hand. Then each player who searched his or her library this way shuffles it.
A:SP$ ChangeZone | Optional$ True | Cost$ X G G | Origin$ Library | Destination$ Hand | DefinedPlayer$ Each | ChangeType$ Card.Creature | Reveal$ True | Shuffle$ True | ChangeNum$ X | References$ X | SpellDescription$ Each player may search his or her library for up to X creature cards, reveal those cards, and put them into his or her hand. Then each player who searched his or her library this way shuffles it.
SVar:X:Count$xPaid
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/weird_harvest.jpg