mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11997] Add spell support for 54092
Thanks to stfx for porting Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
ef079ac0be
commit
007420b615
2 changed files with 10 additions and 1 deletions
|
|
@ -2376,6 +2376,15 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
m_caster->CastSpell(m_caster, 54851, true);
|
m_caster->CastSpell(m_caster, 54851, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 54092: // Monster Slayer's Kit
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
uint32 spellIds[] = {51853, 54063, 54071, 54086};
|
||||||
|
m_caster->CastSpell(unitTarget, spellIds[urand(0, 3)], true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 55004: // Nitro Boosts
|
case 55004: // Nitro Boosts
|
||||||
{
|
{
|
||||||
if (!m_CastItem)
|
if (!m_CastItem)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11996"
|
#define REVISION_NR "11997"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue