aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnubisss <none@none>2009-07-26 03:25:18 +0200
committerAnubisss <none@none>2009-07-26 03:25:18 +0200
commit3409ddf1a86f31ebc4fca3fa5ca4fb606fed14eb (patch)
tree1f40cb89d769785ac94f4fe0a512ff360df2b814
parent3c046356942193756987dc646b30dcf408a1630f (diff)
*Correct damage for Shield of Righteousness.
--HG-- branch : trunk
-rw-r--r--sql/FULL/world_spell_full.sql1
-rw-r--r--sql/updates/4598_world_spell_bonus_data.sql1
-rw-r--r--src/game/SpellEffects.cpp2
3 files changed, 2 insertions, 2 deletions
diff --git a/sql/FULL/world_spell_full.sql b/sql/FULL/world_spell_full.sql
index 980c29c9fd8..88b6d86de66 100644
--- a/sql/FULL/world_spell_full.sql
+++ b/sql/FULL/world_spell_full.sql
@@ -1630,7 +1630,6 @@ INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`
(25742, 0.07, -1, 0.039, -1, 'Paladin - Seal of Righteousness Dummy Proc'),
(53719, 0, 0, 0, 0, 'Paladin - Seal of the Martyr Proc Enemy'),
(53718, 0, 0, 0, 0, 'Paladin - Seal of the Martyr Proc Self'),
-(53600, 0, 0, 0, 0, 'Paladin - Shield of Righteousness'),
(32546, 0.8068, -1, -1, -1, 'Priest - Binding Heal'),
(27813, 0, 0, 0, 0, 'Priest - Blessed Recovery Rank 1'),
(34861, 0.402, -1, -1, -1, 'Priest - Circle of Healing'),
diff --git a/sql/updates/4598_world_spell_bonus_data.sql b/sql/updates/4598_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..0127e88b5a7
--- /dev/null
+++ b/sql/updates/4598_world_spell_bonus_data.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_bonus_data` WHERE `entry` = 53600;
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 0ec93efa83e..7ee0289e329 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -619,7 +619,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
// Shield of Righteousness
else if(m_spellInfo->SpellFamilyFlags[1]&0x00100000)
{
- damage+=int32(m_caster->GetShieldBlockValue());
+ damage += int32(m_caster->GetShieldBlockValue() * 1.3f);
}
break;
}