mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11057] Add script effect of spell 48917
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
4643d9020e
commit
1824dd767f
3 changed files with 22 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue