rageform, lightform & cloudform support. withenchant is for only these
cards...
This commit is contained in:
Anthony Calosa
2017-03-10 14:14:02 +08:00
parent 8ea7b4d4cb
commit 37642c1f78
4 changed files with 41 additions and 19 deletions

View File

@@ -7074,12 +7074,14 @@ public:
class AManifest: public InstantAbility
{
public:
bool withenchant;
MTGAbility * andAbility;
AManifest(GameObserver* observer, int _id, MTGCardInstance * _source, MTGCardInstance * _target) :
InstantAbility(observer, _id, _source)
{
target = _target;
andAbility = NULL;
withenchant = false;
}
int resolve()
@@ -7150,6 +7152,15 @@ public:
andAbilityClone->addToGame();
}
}
if(withenchant)
{
if(source->hasType(Subtypes::TYPE_ENCHANTMENT))
{
source->target = copy;
source->spellTargetType = "creature";
source->addType("aura");
}
}
}
return 1;
}