mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[11097] Add script effect of spell 24718
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
65ad0231e7
commit
a23f1a2e08
2 changed files with 10 additions and 1 deletions
|
|
@ -5938,6 +5938,15 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
|||
case 24590: // Brittle Armor - need remove one 24575 Brittle Armor aura
|
||||
unitTarget->RemoveAuraHolderFromStack(24575);
|
||||
return;
|
||||
case 24718: // Ninja Costume
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
// Ninja Costume (male or female)
|
||||
m_caster->CastSpell(unitTarget, unitTarget->getGender() == GENDER_MALE ? 24711 : 24710, true);
|
||||
return;
|
||||
}
|
||||
case 24719: // Leper Gnome Costume
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11096"
|
||||
#define REVISION_NR "11097"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue