[11057] Add script effect of spell 48917

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-01-21 12:18:50 +01:00
parent 4643d9020e
commit 1824dd767f
3 changed files with 22 additions and 1 deletions

View file

@ -6266,6 +6266,17 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
unitTarget->CastSpell(unitTarget, spellId, true);
return;
}
case 48917: // Who Are They: Cast from Questgiver
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
return;
// Male Shadowy Disguise / Female Shadowy Disguise
unitTarget->CastSpell(unitTarget, unitTarget->getGender() == GENDER_MALE ? 38080 : 38081, true);
// Shadowy Disguise
unitTarget->CastSpell(unitTarget, 32756, true);
return;
}
case 50217: // The Cleansing: Script Effect Player Cast Mirror Image
{
// Summon Your Inner Turmoil