Keywords?
I'm looking in CardFactoryUtil.evaluateCreature() and it references a ton of card.hasKeyword().
I was trying to add something to check for cards like Phantasmal Bear that die when targeted with a spell.
I was trying to add something to check for cards like Phantasmal Bear that die when targeted with a spell.
- Code: Select all
T:Mode$ BecomesTarget | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ When CARDNAME becomes the target of a spell or ability, sacrifice it.
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self
SVar:Targeting:Dies
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/phantasmal_bear.jpg
SetInfo:M12|Common|http://magiccards.info/scans/en/m12/70.jpg
Oracle:When Phantasmal Bear becomes the target of a spell or ability, sacrifice it.