[8165] Correctly add quest talent points count for characters on lvl 55. Author: ApoC

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-07-12 18:09:41 +08:00
1 parent 8fedc832e8
commit 2750d95a5d
2 files changed
+10 -9

No files matched your search

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