Fixed issue with Cranial Plating.

Issue
	attach then equip: plating will give bonus to both creatures
Fix
	Changed "attach" to "retarget target(creature|mybattlefield)"
	as this doesnot admit this bug
	Attach should become deprecated in future
This commit is contained in:
Dmitry Panin
2013-11-17 01:49:51 +04:00
parent afc903e31b
commit 2835bdf767
3 changed files with 7 additions and 5 deletions

View File

@@ -2163,6 +2163,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
return NEW AEquip(observer, id, card);
}
// TODO: deprecate this ability in favor of retarget
//Equipment (attach)
found = s.find("attach");
if (found != string::npos)