J :
* New interface. * This breaks a lot of things. It is not feature-equivalent. It probably doesn't compile under windows and doesn't work on PSP. * Damage is not resolved any more. This will have to be fixed. * Blockers can't be ordered any more. This will have to be fixed. * A lot of new art is included.
This commit is contained in:
+13
-15
@@ -1,21 +1,19 @@
|
||||
#include "../include/Token.h"
|
||||
|
||||
Token::Token(string _name, MTGCardInstance * source, int _power, int _toughness):MTGCardInstance(){
|
||||
isToken = true;
|
||||
tokenSource = source;
|
||||
power = _power;
|
||||
toughness = _toughness;
|
||||
life=toughness;
|
||||
lifeOrig = life;
|
||||
name = _name;
|
||||
setMTGId(- source->getMTGId());
|
||||
setId = source->setId;
|
||||
#include "../include/Token.h"
|
||||
|
||||
Token::Token(string _name, MTGCardInstance * source, int _power, int _toughness):MTGCardInstance(){
|
||||
isToken = true;
|
||||
tokenSource = source;
|
||||
power = _power;
|
||||
toughness = _toughness;
|
||||
life=toughness;
|
||||
lifeOrig = life;
|
||||
name = _name;
|
||||
setMTGId(- source->getMTGId());
|
||||
setId = source->setId;
|
||||
model = this;
|
||||
owner = source->owner;
|
||||
belongs_to=source->controller()->game;
|
||||
attacker = 0;
|
||||
defenser = NULL;
|
||||
banding = NULL;
|
||||
mCache = source->mCache;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user