-Fixed a bug with */* creatures that don't die when they come into play as 0/0
-Fixed a bug with hymn of rebirth introduced in rev 245
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-04-04 15:09:31 +00:00
parent 6582a1972a
commit 89caaaadb4
5 changed files with 24 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ void MTGCardInstance::initMTGCI(){
model=NULL;
isToken = false;
lifeOrig = 0;
doDamageTest = 0;
doDamageTest = 1;
belongs_to=NULL;
tapped = 0;
blockers = NEW Blockers();
@@ -125,6 +125,7 @@ int MTGCardInstance::isInPlay(){
int MTGCardInstance::afterDamage(){
if (!doDamageTest) return 0;
doDamageTest = 0;
if (!isACreature()) return 0;
if (life <=0 && isInPlay()){
GameObserver * game = GameObserver::GetInstance();
game->mLayers->stackLayer()->addPutInGraveyard(this);