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
@@ -1971,6 +1971,7 @@ void TargetAbility::Render(){
int TargetAbility::resolve(){
Targetable * t = tc->getNextTarget();
if (t && ability){
source->X = abilityCost->Diff(cost)->hasX();
ability->target = t;
if (ability->oneShot) return ability->resolve();
MTGAbility * a = ability->clone();