revert this

I introduce more bugs than helped. I think there's alternative method
for this,,,
This commit is contained in:
Anthony Calosa
2017-01-28 13:23:30 +08:00
parent c53ee24b5b
commit 3e75d70632
4 changed files with 9 additions and 76 deletions

View File

@@ -1410,13 +1410,8 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
found = s.find("legendrule");
if(found != string::npos)
{
//I replaced this rule since it broke cards with copy effects and with andability and other
//complex cards. So I moved it to gameobserver state based effects, if there are no more
//abilities that needs resolving then trigger this legend check... example bug:
//cast Phantasmal Image, then copy Vendilion Clique in play, after you choose target player
//there will be infinite menu for legendary rule that conflicts with Phantasmal andAbility
//observer->addObserver(NEW MTGLegendRule(observer, -1));
observer->foundlegendrule = true;
observer->addObserver(NEW MTGLegendRule(observer, -1));
//observer->foundlegendrule = true;
return NULL;
}
//this handles the planeswalker named legend rule which is dramatically different from above.