diff options
author | tobmaps <spambot42@yandex.ru> | 2011-05-31 23:17:17 +0700 |
---|---|---|
committer | tobmaps <spambot42@yandex.ru> | 2011-05-31 23:17:17 +0700 |
commit | 106493737fbaad934d19e258fa7a68ec850bbf5f (patch) | |
tree | 436aa38ed18b8f18c636b04a61687b0e2539472a | |
parent | 223d3266d82167de692f8bba45dc6c8bbe4bb5fc (diff) |
Core/Spells: Fix spell power and attack power coefficients for Seal of Righteousness
-rw-r--r-- | sql/base/world_database.sql | 2 | ||||
-rw-r--r-- | sql/updates/world/2011_05_31_01_world_spell_bonus_data.sql | 1 | ||||
-rwxr-xr-x | src/server/game/Entities/Unit/Unit.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql index 52882cc4a79..9c12aeb1d27 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 00000000000..700f73e7ff7 --- /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 7bf5021fcc5..05e0bf992ba 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; |