mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
convert Guan Yu, Sainted Warrior to triggers
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
Name:Guan Yu, Sainted Warrior
|
||||
ManaCost:3 W W
|
||||
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
|
||||
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: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
|
||||
|
||||
@@ -2085,12 +2085,6 @@ public class GameAction {
|
||||
PlayerZone library = AllZone.getZone(Constant.Zone.Library, newCard.getOwner());
|
||||
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()
|
||||
|
||||
public boolean destroy(Card c) {
|
||||
|
||||
Reference in New Issue
Block a user