diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 039cc73e5..fa813ec0a 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -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 24717: // Pirate Costume + { + if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) + return; + + // Pirate Costume (male or female) + m_caster->CastSpell(unitTarget, unitTarget->getGender() == GENDER_MALE ? 24708 : 24709, true); + return; + } case 24718: // Ninja Costume { if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) @@ -5956,6 +5965,15 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx) m_caster->CastSpell(unitTarget, unitTarget->getGender() == GENDER_MALE ? 24712 : 24713, true); return; } + case 24737: // Ghost Costume + { + if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) + return; + + // Ghost Costume (male or female) + m_caster->CastSpell(unitTarget, unitTarget->getGender() == GENDER_MALE ? 24735 : 24736, true); + return; + } case 26275: // PX-238 Winter Wondervolt TRAP { uint32 spells[4] = { 26272, 26157, 26273, 26274 }; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 0b82d108d..822bacf30 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11097" + #define REVISION_NR "11098" #endif // __REVISION_NR_H__