Add Snapcaster Mage Ability
tempflashback - flashback using manacost
This commit is contained in:
@@ -219,6 +219,7 @@ public:
|
||||
BESTOW_COST = 35,
|
||||
ATTACK_COST = 36,
|
||||
BLOCK_COST = 37,
|
||||
GRANTEDFLASHBACK_COST = 38,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -255,7 +255,8 @@ class Constants
|
||||
OVERLOAD = 133,
|
||||
SHACKLER = 134,
|
||||
FLYERSONLY = 135,//can attack only if it has flying
|
||||
NB_BASIC_ABILITIES = 136,
|
||||
TEMPFLASHBACK = 136,
|
||||
NB_BASIC_ABILITIES = 137,
|
||||
|
||||
RARITY_S = 'S', //Special Rarity
|
||||
RARITY_M = 'M', //Mythics
|
||||
|
||||
@@ -150,6 +150,21 @@ public:
|
||||
virtual MTGFlashBackRule * clone() const;
|
||||
};
|
||||
|
||||
class MTGTempFlashBackRule: public MTGAlternativeCostRule
|
||||
{
|
||||
public:
|
||||
|
||||
int isReactingToClick(MTGCardInstance * card, ManaCost * mana = NULL);
|
||||
int reactToClick(MTGCardInstance * card);
|
||||
virtual ostream& toString(ostream& out) const;
|
||||
MTGTempFlashBackRule(GameObserver* observer, int _id);
|
||||
const string getMenuText()
|
||||
{
|
||||
return "Flashback Manacost";
|
||||
}
|
||||
virtual MTGTempFlashBackRule * clone() const;
|
||||
};
|
||||
|
||||
class MTGRetraceRule: public MTGAlternativeCostRule
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user