fixed a bug where you could equip opponents creatures with your equipment, it is quite possible that we have *always* been able too but no one has actually tried. anyways "myBattlefield" does not compare to "mybattlefield"...

i seriously think we devs should consider making all ability coding required lowercase. not card names and text, but coding such as targetchoosers "thisForEach(creature[Black;White]|myBattlefield) moveto(myGraveYard) ...<---this is not uniform...and leads to people using such coding in the source ....i think i suggested this once and was instantly shot down...however, this is the 2nd instance where a bug has arose from the comparing of capitalized vs lower case..becuase we all assume that every line is going to be dropped to lower case as the game reads them.....
This commit is contained in:
omegablast2002@yahoo.com
2011-07-20 17:17:52 +00:00
parent ace236e6a3
commit e8b8079ef6

View File

@@ -858,7 +858,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
if (!tc)
{
TargetChooserFactory tcf;
tc = tcf.createTargetChooser("creature|myBattlefield", card);
tc = tcf.createTargetChooser("creature|mybattlefield", card);
}
ae->tc = tc;
return ae;