Laurent - Corrected bug following wololo instruction. + found two small bug in CFX (fixed) and POR... for thundermare i'm not sure I fixed it and that it will work correctly...

This commit is contained in:
wagic.laurent
2009-07-31 07:37:58 +00:00
parent 8366169893
commit eda36220f6
3 changed files with 5 additions and 2 deletions

View File

@@ -262,7 +262,8 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
if (card->hasType("sorcery") || card->hasType("instant")) oneShot = 1;
if (i == 3) oneShot = 1;
if (a->oneShot) oneShot = 1;
Damageable * _target = spell->getNextDamageableTarget();
Damageable * _target = NULL;
if (spell) _target = spell->getNextDamageableTarget();
if (!_target) _target = target;
switch(i){
case 0: result = NEW ALord(id, card, lordTargets, lordIncludeSelf, a); break;