[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); m_caster->CastSpell(unitTarget,60934,true,NULL);
return; return;
} }
case 64385: // Spinning (from Unusual Compass)
{
m_caster->SetFacingTo(frand(0, M_PI*2), true);
return;
}
case 67019: // Flask of the North case 67019: // Flask of the North
{ {
if (m_caster->GetTypeId() != TYPEID_PLAYER) if (m_caster->GetTypeId() != TYPEID_PLAYER)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "10557" #define REVISION_NR "10558"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__