mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[10558] Fix spell "Spinning" (64385) for item "Unusual Compass" (45984)
Signed-off-by: DasBlub <dasblub@gmail.com>
This commit is contained in:
parent
f8ff8d78ea
commit
cfe681ff7a
2 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue