convert Guan Yu, Sainted Warrior to triggers

This commit is contained in:
jendave
2011-08-06 19:25:50 +00:00
parent 2d439c4568
commit c1348841dd
2 changed files with 3 additions and 7 deletions

View File

@@ -1,9 +1,11 @@
Name:Guan Yu, Sainted Warrior Name:Guan Yu, Sainted Warrior
ManaCost:3 W W ManaCost:3 W W
Types:Legendary Creature Human Soldier Warrior Types:Legendary Creature Human Soldier Warrior
Text:When Guan Yu, Sainted Warrior is put into your graveyard from the battlefield, you may shuffle Guan Yu into your library. Text:no text
PT:3/5 PT:3/5
K:Horsemanship K:Horsemanship
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigReturn | Optional$ True | TriggerDescription$ When CARDNAME is put into your graveyard from the battlefield, you may shuffle CARDNAME into your library.
SVar:TrigReturn:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Library | Shuffle$ True
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/guan_yu_sainted_warrior.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/guan_yu_sainted_warrior.jpg
SetInfo:PTK|Rare|http://magiccards.info/scans/en/p3k/6.jpg SetInfo:PTK|Rare|http://magiccards.info/scans/en/p3k/6.jpg

View File

@@ -2085,12 +2085,6 @@ public class GameAction {
PlayerZone library = AllZone.getZone(Constant.Zone.Library, newCard.getOwner()); PlayerZone library = AllZone.getZone(Constant.Zone.Library, newCard.getOwner());
moveTo(library, newCard); moveTo(library, newCard);
} }
else if(c.getName().equals("Guan Yu, Sainted Warrior")) {
PlayerZone library = AllZone.getZone(Constant.Zone.Library, newCard.getOwner());
newCard = moveTo(library, newCard);
owner.shuffle();
}
}//sacrificeDestroy() }//sacrificeDestroy()
public boolean destroy(Card c) { public boolean destroy(Card c) {