-fix bug with Regal force
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-07-25 03:16:55 +00:00
parent 719c218552
commit 760910709a
3 changed files with 23 additions and 0 deletions
+1
View File
@@ -276,6 +276,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
int oneShot = 0;
if (card->hasType("sorcery") || card->hasType("instant")) oneShot = 1;
if (i == 3) oneShot = 1;
if (a->oneShot) oneShot = 1;
switch(i){
case 0: result = NEW ALord(id, card, lordTargets, lordIncludeSelf, a); break;
case 1: result = NEW AForeach(id, card, target,lordTargets, lordIncludeSelf, a); break;