mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[8164] Implement engineering boots permanently enchantment 55016 effect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
e6d40697a1
commit
04a5a674d2
2 changed files with 9 additions and 2 deletions
|
|
@ -1080,6 +1080,13 @@ void Spell::EffectDummy(uint32 i)
|
||||||
m_caster->CastSpell(m_caster, 45088, true);
|
m_caster->CastSpell(m_caster, 45088, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 55004: // Nitro Boosts
|
||||||
|
if(!m_CastItem) return;
|
||||||
|
if(roll_chance_i(95)) //success
|
||||||
|
m_caster->CastSpell(m_caster, 54861, true, m_CastItem);
|
||||||
|
else //backfire 5%
|
||||||
|
m_caster->CastSpell(m_caster, 46014, true, m_CastItem);
|
||||||
|
return;
|
||||||
case 50243: // Teach Language
|
case 50243: // Teach Language
|
||||||
{
|
{
|
||||||
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 "8163"
|
#define REVISION_NR "8164"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue