diff options
author | megamage <none@none> | 2009-08-02 10:10:13 +0800 |
---|---|---|
committer | megamage <none@none> | 2009-08-02 10:10:13 +0800 |
commit | 1c10f20e38774c6cb013c18ef1deed2096ffcaf3 (patch) | |
tree | 2a9058e260e716c6a81945154d970c265d827b0a /src | |
parent | a1d5f174be17c7fc230b9d362ffab27cd28a4ec7 (diff) |
[8283] Implement 3.x way work for double damage from 35290 and ranks Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 2dca13cd08a..3019784d608 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -585,8 +585,14 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx) } case SPELLFAMILY_HUNTER: { + //Gore + if (m_spellInfo->SpellIconID == 1578) + { + if (m_caster->HasAura(57627)) // Charge 6 sec post-affect + damage *= 2; + } // Steady Shot - if(m_spellInfo->SpellFamilyFlags[1] & 0x1) + else if(m_spellInfo->SpellFamilyFlags[1] & 0x1) { bool found = false; // check dazed affect |