Some spells with cantrip
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
2 posts
• Page 1 of 1
Some spells with cantrip
by Sloth » 03 Aug 2009, 15:08
I found some spells with the keyword cantrip that can be easily added:
cards.txt:
cards.txt:
- Code: Select all
Tranquil Path
4 G
Sorcery
Destroy all enchantments. Draw a card.
Cantrip
Touch of Invisibility
3 U
Sorcery
Target creature is unblockable this turn. Draw a card.
spPumpTgt:Unblockable
Cantrip
Symbol of Unsummoning
2 U
Sorcery
Return target creature to its owner's hand. Draw a card.
Cantrip
Recover
2 B
Sorcery
Return target creature card from your graveyard to your hand. Draw a card.
Cantrip
Dismiss
2 U U
Instant
Counter target spell. Draw a card.
Cantrip
- Code: Select all
if(cardName.equals("Counterspell") || cardName.equals("Cancel") || cardName.equals("Dismiss"))
if(cardName.equals("Raise Dead") || cardName.equals("Disentomb") || cardName.equals(" Recover"))
if(cardName.equals("Unsummon") || cardName.equals("Symbol of Unsummoning"))
if (cardName.equals("Tranquility") || cardName.equals("Tempest of Light") || cardName.equals("Tranquil Path"))
- Code: Select all
remove.add("Cancel");
remove.add("Dismiss");
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 35 guests