diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 73b0d6c3c..1b938ed33 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2708,6 +2708,16 @@ 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 b03e02858..9f2b7a297 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2141,6 +2141,15 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx) m_caster->CastSpell(unitTarget,60934,true,NULL); return; } + case 62105: // To'kini's Blowgun + { + if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT) + return; + + // Sleeping Sleep + unitTarget->CastSpell(unitTarget, 62248, true); + return; + } case 64385: // Spinning (from Unusual Compass) { m_caster->SetFacingTo(frand(0, M_PI_F*2), true); diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index c02f1a463..80eda5c2d 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -639,6 +639,7 @@ bool IsPositiveEffect(uint32 spellId, SpellEffectIndex effIndex) return false; case 49634: // Sergeant's Flare case 54530: // Opening + case 62105: // To'kini's Blowgun return true; default: break; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 49342a67e..e80714943 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 "11286" + #define REVISION_NR "11287" #endif // __REVISION_NR_H__