Erwan
- fix issue 153 (Tokens should go to graveyard) - "token" keyword can now be used in the parser with things such as Creature[-token] for "noncreature token" - Let's stop using "token" as a type
This commit is contained in:
@@ -47,7 +47,7 @@ class MTGCardInstance: public CardPrimitive, public MTGCard, public Damageable {
|
||||
MTGGameZone * currentZone;
|
||||
Pos* view;
|
||||
int regenerateTokens;
|
||||
bool isToken;
|
||||
int isToken;
|
||||
int stillInUse();
|
||||
Player * lastController;
|
||||
MTGGameZone * getCurrentZone();
|
||||
|
||||
@@ -64,6 +64,16 @@ class MTGPersistRule:public MTGAbility{
|
||||
};
|
||||
|
||||
|
||||
class MTGTokensCleanup:public MTGAbility{
|
||||
public:
|
||||
vector<MTGCardInstance *> list;
|
||||
MTGTokensCleanup(int _id);
|
||||
int receiveEvent(WEvent * event);
|
||||
int testDestroy();
|
||||
void Update(float dt);
|
||||
virtual MTGTokensCleanup * clone() const;
|
||||
};
|
||||
|
||||
/*
|
||||
* Rule 420.5e (Legend Rule)
|
||||
* If two or more legendary permanents with the same name are in play, all are put into their
|
||||
|
||||
Reference in New Issue
Block a user