mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Convert Rancor keyword to Triggers
This commit is contained in:
@@ -4,7 +4,8 @@ Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
K:enPump:Shroud
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/aspect_of_mongoose.jpg
|
||||
SetInfo:TSP|Uncommon|http://magiccards.info/scans/en/ts/191.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
K:enPump:+1/+2
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/brilliant_halo.jpg
|
||||
SetInfo:USG|Common|http://magiccards.info/scans/en/us/5.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
K:enPumpCurse:HIDDEN CARDNAME can't attack.:Enchanted creature can't attack.
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/cessation.jpg
|
||||
SetInfo:ULG|Common|http://magiccards.info/scans/en/ul/4.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
K:enPumpCurse:-2/-0
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/despondency.jpg
|
||||
SetInfo:USG|Common|http://magiccards.info/scans/en/us/129.jpg
|
||||
|
||||
@@ -3,7 +3,8 @@ ManaCost:1 B B
|
||||
Types:Creature Insect
|
||||
Text:no text
|
||||
PT:1/1
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://resources.wizards.com/magic/cards/po/en-us/card4220.jpg
|
||||
SetInfo:POR|Rare|http://magiccards.info/scans/en/po/14.jpg
|
||||
|
||||
@@ -5,7 +5,8 @@ Text:no text
|
||||
K:Enchant creature
|
||||
K:enPump:Flying
|
||||
A:AB$Pump | Cost$ Sac<1/Creature> | Defined$ Enchanted | NumAtt$ +2 | NumDef$ +1 | SpellDescription$ Enchanted creature gets +2/+1 until end of turn.
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/fallen_ideal.jpg
|
||||
SetInfo:TSP|Uncommon|http://magiccards.info/scans/en/ts/109.jpg
|
||||
|
||||
@@ -5,7 +5,8 @@ Text:no text
|
||||
K:Enchant creature
|
||||
K:enPump:+0/+0
|
||||
A:AB$Pump | Cost$ R | Defined$ Enchanted | NumAtt$ +1 | SpellDescription$ Enchanted creature gets +1/+0 until end of turn.
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/fiery_mantle.jpg
|
||||
SetInfo:USG|Common|http://magiccards.info/scans/en/us/186.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
K:enPump:Flying
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/launch.jpg
|
||||
SetInfo:USG|Common|http://magiccards.info/scans/en/us/82.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
K:enPump:+2/+0/Trample
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/rancor.jpg
|
||||
SetInfo:ULG|Common|http://magiccards.info/scans/en/ul/110.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Creature Phoenix
|
||||
Text:no text
|
||||
PT:3/4
|
||||
K:Flying
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/shivan_phoenix.jpg
|
||||
SetInfo:ULG|Rare|http://magiccards.info/scans/en/ul/91.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
K:enPump:Fear
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/sleepers_guile.jpg
|
||||
SetInfo:ULG|Common|http://magiccards.info/scans/en/ul/67.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
K:enPumpCurse:HIDDEN At the beginning of your upkeep, sacrifice CARDNAME unless you pay 2:At the beginning of the upkeep of enchanted creature's controller, that player sacrifices that creature unless he or she pays 2.
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/slow_motion.jpg
|
||||
SetInfo:ULG|Common|http://magiccards.info/scans/en/ul/42.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
K:enPumpCurse:HIDDEN CARDNAME can't block.:Enchanted creature can't block.
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/sluggishness.jpg
|
||||
SetInfo:ULG|Common|http://magiccards.info/scans/en/ul/92.jpg
|
||||
|
||||
@@ -5,7 +5,8 @@ Text:no text
|
||||
K:Enchant creature
|
||||
K:enPump:+0/+0
|
||||
K:Whenever enchanted creature deals damage, you gain that much life.
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/spirit_loop.jpg
|
||||
SetInfo:TSP|Uncommon|http://magiccards.info/scans/en/ts/42.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Enchantment Aura
|
||||
Text:no text
|
||||
K:Enchant creature
|
||||
K:enPump:+2/+2/HIDDEN CARDNAME can't block.:Enchanted creature gets +2/+2 and can't block.
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/undying_rage.jpg
|
||||
SetInfo:TSP|Uncommon|http://magiccards.info/scans/en/ts/184.jpg
|
||||
|
||||
@@ -4,7 +4,8 @@ Types:Creature Treefolk
|
||||
Text:no text
|
||||
PT:5/3
|
||||
K:Trample
|
||||
K:When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.
|
||||
SVar:TrigChangeZone:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/weatherseed_treefolk.jpg
|
||||
SetInfo:ULG|Rare|http://magiccards.info/scans/en/ul/116.jpg
|
||||
|
||||
@@ -346,9 +346,7 @@ public class CardFactoryUtil {
|
||||
if (c.hasStartOfKeyword("Fading")) value -= 20; //not used atm
|
||||
if (c.hasStartOfKeyword("Vanishing")) value -= 20; //not used atm
|
||||
|
||||
//undesired effects
|
||||
if (c.hasStartOfKeyword("When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.")) value -= 10;
|
||||
|
||||
|
||||
return value;
|
||||
|
||||
} //evaluateCreature
|
||||
|
||||
@@ -2111,13 +2111,7 @@ public class GameAction {
|
||||
AllZone.Stack.add(persistAb);
|
||||
}
|
||||
|
||||
if(c.getKeyword().contains(
|
||||
"When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand.")) {
|
||||
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, newCard.getOwner());
|
||||
moveTo(hand, newCard);
|
||||
}
|
||||
|
||||
else if(c.getName().equals("Nissa's Chosen")) {
|
||||
if(c.getName().equals("Nissa's Chosen")) {
|
||||
PlayerZone library = AllZone.getZone(Constant.Zone.Library, newCard.getOwner());
|
||||
moveTo(library, newCard);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user