[8164] Implement engineering boots permanently enchantment 55016 effect.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Lutik 2009-07-12 01:53:31 +04:00 committed by VladimirMangos
parent e6d40697a1
commit 04a5a674d2
2 changed files with 9 additions and 2 deletions

View file

@ -945,7 +945,7 @@ void Spell::EffectDummy(uint32 i)
else // backfire 20%
m_caster->CastSpell(unitTarget, 30504, true, m_CastItem);
return;
case 33060: // Make a Wish
case 33060: // Make a Wish
{
if(m_caster->GetTypeId()!=TYPEID_PLAYER)
return;
@ -1080,6 +1080,13 @@ void Spell::EffectDummy(uint32 i)
m_caster->CastSpell(m_caster, 45088, true);
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
{
if(m_caster->GetTypeId() != TYPEID_PLAYER)