Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk



"Gains flashback" ?
Moderator: CCGHQ Admins
2 posts
• Page 1 of 1
"Gains flashback" ?
by Emashzed » 25 Aug 2012, 17:33
Does anyone know if there is a way to give Flashback to a card in DOTP2013 ?
(trying to code Snapcaster Mage)
I've searched in every dotp2010/2012/2013 card, it doesn't seem that such a card is coded yet. Doesn't mean it's not possible though
(trying to code Snapcaster Mage)
I've searched in every dotp2010/2012/2013 card, it doesn't seem that such a card is coded yet. Doesn't mean it's not possible though

Re: "Gains flashback" ?
by thefiremind » 25 Aug 2012, 19:01
Flashback needs to have a FLASHBACK_COST written in the card XML, so you can't code something like that without making big approximations (like adding an activated ability to the chosen card that lets you play it from the graveyard). If that wasn't enough, you also need to get the exact mana cost in order to pay it: I made functions that retrieve the mana costs through ChromaCount but I'm quite sure they wouldn't work with hybrid or phyrexian mana.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 12 guests