Attack Cost Rule
Update your rules folder
This commit is contained in:
@@ -4863,6 +4863,19 @@ public:
|
||||
|
||||
};
|
||||
|
||||
//AAttackSetCost
|
||||
class AAttackSetCost: public MTGAbility
|
||||
{
|
||||
public:
|
||||
string number;
|
||||
AAttackSetCost(GameObserver* observer, int _id, MTGCardInstance * _source, string number);
|
||||
void Update(float dt);
|
||||
int addToGame();
|
||||
int destroy();
|
||||
const string getMenuText();
|
||||
AAttackSetCost * clone() const;
|
||||
};
|
||||
|
||||
//ABlink
|
||||
class ABlink: public MTGAbility
|
||||
{
|
||||
|
||||
@@ -216,6 +216,8 @@ public:
|
||||
PAYZERO_COST = 33,
|
||||
OVERLOAD_COST = 34,
|
||||
BESTOW_COST = 35,
|
||||
ATTACK_COST = 36,
|
||||
ATTACKPLANESWALKER_COST = 37,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -258,6 +258,9 @@ public:
|
||||
ManaCost * computeNewCost(MTGCardInstance * card,ManaCost * oldCost, ManaCost * refCost,bool noTrinisphere = false);
|
||||
int countTrini;
|
||||
vector<MTGCardInstance*>imprintedCards;
|
||||
int attackCost;
|
||||
int attackCostBackup;
|
||||
int attackPlaneswalkerCost;
|
||||
int imprintG;
|
||||
int imprintU;
|
||||
int imprintR;
|
||||
|
||||
@@ -219,6 +219,18 @@ public:
|
||||
virtual MTGSuspendRule * clone() const;
|
||||
};
|
||||
|
||||
class MTGAttackCostRule: public PermanentAbility
|
||||
{
|
||||
public:
|
||||
string scost;
|
||||
int isReactingToClick(MTGCardInstance * card, ManaCost * mana = NULL);
|
||||
int reactToClick(MTGCardInstance * card);
|
||||
virtual ostream& toString(ostream& out) const;
|
||||
MTGAttackCostRule(GameObserver* observer, int _id);
|
||||
const string getMenuText();
|
||||
virtual MTGAttackCostRule * clone() const;
|
||||
};
|
||||
|
||||
class MTGAttackRule: public PermanentAbility, public Limitor
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user