From 106493737fbaad934d19e258fa7a68ec850bbf5f Mon Sep 17 00:00:00 2001 From: tobmaps Date: Tue, 31 May 2011 23:17:17 +0700 Subject: [PATCH] Core/Spells: Fix spell power and attack power coefficients for Seal of Righteousness --- sql/base/world_database.sql | 2 +- sql/updates/world/2011_05_31_01_world_spell_bonus_data.sql | 1 + src/server/game/Entities/Unit/Unit.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 sql/updates/world/2011_05_31_01_world_spell_bonus_data.sql diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql index 52882cc4a7..9c12aeb1d2 100644 --- a/sql/base/world_database.sql +++ b/sql/base/world_database.sql @@ -16985,7 +16985,7 @@ INSERT INTO `spell_bonus_data` (`entry`,`direct_bonus`,`dot_bonus`,`ap_bonus`,`a (32221, 0, 0, 0, 0, 'Paladin - Seal of Blood Proc Self'), (20424, 0, 0, 0, 0, 'Paladin - Seal of Command Proc'), (20167, 0.15, -1, 0.15, -1, 'Paladin - Seal of Light Proc'), -(25742, 0.07, -1, 0.039, -1, 'Paladin - Seal of Righteousness Dummy Proc'), +(25742, 0, -1, 0, -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'), diff --git a/sql/updates/world/2011_05_31_01_world_spell_bonus_data.sql b/sql/updates/world/2011_05_31_01_world_spell_bonus_data.sql new file mode 100644 index 0000000000..700f73e7ff --- /dev/null +++ b/sql/updates/world/2011_05_31_01_world_spell_bonus_data.sql @@ -0,0 +1 @@ +UPDATE `spell_bonus_data` SET `direct_bonus` = 0, `ap_bonus` = 0 WHERE `entry` = 25742; diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 7bf5021fcc..05e0bf992b 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -6608,7 +6608,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger case SPELLFAMILY_PALADIN: { // Seal of Righteousness - melee proc dummy (addition ${$MWS*(0.022*$AP+0.044*$SPH)} damage) - if (dummySpell->SpellFamilyFlags[0]&0x8000000) + if (dummySpell->SpellFamilyFlags[0] & 0x8000000) { if (effIndex != 0) return false;