[8283] Implement 3.x way work for double damage from 35290 and ranks

This commit is contained in:
VladimirMangos 2009-07-31 17:07:23 +04:00
parent c7f8c9b52b
commit 3fc547e6e6
3 changed files with 4 additions and 2 deletions

View file

@ -577,7 +577,8 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
//Gore
if (m_spellInfo->SpellIconID == 1578)
{
damage+= rand()%2 ? damage : 0;
if (m_caster->HasAura(57627)) // Charge 6 sec post-affect
damage *= 2;
}
// Mongoose Bite
else if ((m_spellInfo->SpellFamilyFlags & UI64LIT(0x000000002)) && m_spellInfo->SpellVisual[0]==342)