[10558] Fix spell "Spinning" (64385) for item "Unusual Compass" (45984)

Signed-off-by: DasBlub <dasblub@gmail.com>
This commit is contained in:
cmaranec 2010-09-29 22:09:24 +02:00 committed by DasBlub
parent f8ff8d78ea
commit cfe681ff7a
2 changed files with 6 additions and 1 deletions

View file

@ -1774,6 +1774,11 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
m_caster->CastSpell(unitTarget,60934,true,NULL);
return;
}
case 64385: // Spinning (from Unusual Compass)
{
m_caster->SetFacingTo(frand(0, M_PI*2), true);
return;
}
case 67019: // Flask of the North
{
if (m_caster->GetTypeId() != TYPEID_PLAYER)