mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +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);
|
unitTarget->CastSpell(unitTarget, spellId, true);
|
||||||
return;
|
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
|
case 50217: // The Cleansing: Script Effect Player Cast Mirror Image
|
||||||
{
|
{
|
||||||
// Summon Your Inner Turmoil
|
// Summon Your Inner Turmoil
|
||||||
|
|
|
||||||
|
|
@ -1846,6 +1846,16 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
|
||||||
(spellInfo_2->Id == 23170 && spellInfo_1->Id == 23171))
|
(spellInfo_2->Id == 23170 && spellInfo_1->Id == 23171))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// Male Shadowy Disguise
|
||||||
|
if ((spellInfo_1->Id == 32756 && spellInfo_2->Id == 38080) ||
|
||||||
|
(spellInfo_2->Id == 32756 && spellInfo_1->Id == 38080))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
// Female Shadowy Disguise
|
||||||
|
if ((spellInfo_1->Id == 32756 && spellInfo_2->Id == 38081) ||
|
||||||
|
(spellInfo_2->Id == 32756 && spellInfo_1->Id == 38081))
|
||||||
|
return false;
|
||||||
|
|
||||||
// Cool Down (See PeriodicAuraTick())
|
// Cool Down (See PeriodicAuraTick())
|
||||||
if ((spellInfo_1->Id == 52441 && spellInfo_2->Id == 52443) ||
|
if ((spellInfo_1->Id == 52441 && spellInfo_2->Id == 52443) ||
|
||||||
(spellInfo_2->Id == 52441 && spellInfo_1->Id == 52443))
|
(spellInfo_2->Id == 52441 && spellInfo_1->Id == 52443))
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11056"
|
#define REVISION_NR "11057"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue