diff options
author | QAston <none@none> | 2009-05-04 15:48:10 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-05-04 15:48:10 +0200 |
commit | 6bee2f988af8da474ecebe776e61768bcc730f46 (patch) | |
tree | 85e81f2950ff1ae1f151c9f9f981b8e8e6c5ebd5 /src/game/SpellEffects.cpp | |
parent | 30ac988ad3273d38ed9b32ba80822c04f87ae696 (diff) |
*Do not take ammo for shockwave
*Do not check weapon skills for hits against players' summons
*Apply range mods for channeled spell range check
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index e441e2113d2..9da352bfbda 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1389,6 +1389,12 @@ void Spell::EffectDummy(uint32 i) m_damage+= uint32(damage * m_caster->GetTotalAttackPowerValue(BASE_ATTACK) / 100); return; } + // Shockwave + if(m_spellInfo->SpellFamilyFlags[1] & 0x8000) + { + m_damage+= uint32(damage * m_caster->GetTotalAttackPowerValue(BASE_ATTACK) / 100); + return; + } switch(m_spellInfo->Id) { // Warrior's Wrath |