Update this(X) so that it works with spells as well as activated abilities. Also fixed a bug were this(X) did not work with targeting.

Adds Martial Coup
This commit is contained in:
salmelo16
2010-04-17 19:45:57 +00:00
parent 27a922db38
commit be1a52f660
12 changed files with 27 additions and 45 deletions
+1
View File
@@ -70,6 +70,7 @@ int MTGPutInPlayRule::reactToClick(MTGCardInstance * card){
}else{
spell = game->mLayers->stackLayer()->addSpell(copy,NULL, spellCost, payResult);
}
copy->X = spell->computeX(copy);
}
return 1;
}