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

@@ -5341,6 +5341,7 @@ int AEquip::equip(MTGCardInstance * equipped)
if (dynamic_cast<AEquip *> (a)) continue;
if (dynamic_cast<ATeach *> (a)) continue;
if (dynamic_cast<AAConnect *> (a)) continue;
if (dynamic_cast<AANewTarget *> (af.getCoreAbility(a))) continue;
if (a->aType == MTGAbility::STANDARD_TOKENCREATOR && a->oneShot)
{
a->forceDestroy = 1;