[9099] Implement periodic dummy aura for spell 55592

Also correct second cast, expected for spell 53520

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-01-01 21:26:09 +01:00
parent c09ee423ba
commit ed0f04bce4
2 changed files with 10 additions and 1 deletions

View file

@ -7299,6 +7299,15 @@ void Aura::PeriodicDummyTick()
return; return;
case 53520: // Carrion Beetles case 53520: // Carrion Beetles
m_target->CastSpell(m_target, 53521, true, NULL, this); m_target->CastSpell(m_target, 53521, true, NULL, this);
m_target->CastSpell(m_target, 53521, true, NULL, this);
return;
case 55592: // Clean
switch(urand(0,2))
{
case 0: m_target->CastSpell(m_target, 55731, true); break;
case 1: m_target->CastSpell(m_target, 55738, true); break;
case 2: m_target->CastSpell(m_target, 55739, true); break;
}
return; return;
// Exist more after, need add later // Exist more after, need add later
default: default:

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 "9098" #define REVISION_NR "9099"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__