aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston@qaston-pc <none@none>2009-03-01 12:56:31 +0100
committerQAston@qaston-pc <none@none>2009-03-01 12:56:31 +0100
commit9e9708f5b7885e30580e3685f7c5971dd1d0b571 (patch)
treebb4652065197446f8ad8cf54ad0e58b408bd62d9 /src/game/SpellEffects.cpp
parent783714aff351ce60b40e7d15796622b5f4e5d7ca (diff)
*Fix Shield Slam damage.
*Fix Glyph of Power Word: Shield. (original patch by Maxxie) *Fix a typo in 1570. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 3bdad19a797..d0327ea522c 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -411,7 +411,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
damage = uint32(damage * (m_caster->GetTotalAttackPowerValue(BASE_ATTACK)) / 100);
}
// Shield Slam
- else if(m_spellInfo->SpellFamilyFlags[1] & 0x1)
+ else if(m_spellInfo->SpellFamilyFlags[1] & 0x200)
damage += int32(m_caster->GetShieldBlockValue());
// Victory Rush
else if(m_spellInfo->SpellFamilyFlags[1] & 0x100)