Draft of the "fizzle to zone"

(credit goes to excessum)
This commit is contained in:
pankdm
2013-10-08 23:17:43 +00:00
parent da7c336dc2
commit 17fdedb648
6 changed files with 131 additions and 0 deletions

View File

@@ -217,6 +217,7 @@ public:
Interruptible * getNext(Interruptible * previous, int type = 0, int state = 0 , int display = -1);
int getNextIndex(Interruptible * previous, int type = 0, int state = 0 , int display = -1);
void Fizzle(Interruptible * action);
void Fizzle(Interruptible * action, int targetZone); //Overloaded fizzle (0 - 3: graveyard, hand, exile, librarytop)
Interruptible * getAt(int id);
void cancelInterruptOffer(InterruptDecision cancelMode = DONT_INTERRUPT, bool log = true);
void endOfInterruption(bool log = true);

View File

@@ -1120,6 +1120,15 @@ public:
AAFizzler* clone() const;
};
class AAOFizzler: public AAFizzler
{
public:
AAOFizzler( GameObserver* observer, int _id, MTGCardInstance * card, Spell * _target, int tgtZone, ManaCost * _cost );
int targetZone;
int resolve();
AAOFizzler* clone() const;
};
/*
Generic classes
*/