rageform
rageform, lightform & cloudform support. withenchant is for only these cards...
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user