attempt to fix an issue with prevent:1 on instants and sorceries. thanks for the tip wololo! :)
This commit is contained in:
@@ -885,7 +885,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
|
|||||||
}
|
}
|
||||||
|
|
||||||
Targetable * t = NULL;
|
Targetable * t = NULL;
|
||||||
if (spell) t = spell->getNextPlayerTarget();
|
if (spell) t = spell->getNextDamageableTarget();
|
||||||
MTGAbility * a = NEW AADamagePrevent (id, card, t,preventing,NULL,0,who);
|
MTGAbility * a = NEW AADamagePrevent (id, card, t,preventing,NULL,0,who);
|
||||||
a->oneShot = 1;
|
a->oneShot = 1;
|
||||||
return a;
|
return a;
|
||||||
|
|||||||
Reference in New Issue
Block a user