diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 619c54fbb..65c1992ec 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2708,16 +2708,6 @@ void Aura::HandleAuraDummy(bool apply, bool Real) target->PlayDirectSound(14972, (Player *)target); } return; - case 62248: // Sleeping Sleep - { - if (apply) - target->setFaction(190); // Ambient (neutral) - else - target->setFaction(1990); // Ambient (hostile) - - target->ApplyModFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE, apply); - return; - } case 40131: case 27978: if (apply) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 9f2b7a297..689791d51 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2148,6 +2148,9 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx) // Sleeping Sleep unitTarget->CastSpell(unitTarget, 62248, true); + + unitTarget->setFaction(190); // Ambient (neutral) + unitTarget->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE); return; } case 64385: // Spinning (from Unusual Compass) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 5bdd3da3f..cf79b9839 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 "11288" + #define REVISION_NR "11289" #endif // __REVISION_NR_H__