From d570e2af3e7bcb625d8941397d55972d49319a8f Mon Sep 17 00:00:00 2001 From: ariel- Date: Sat, 13 Jan 2018 19:57:20 -0300 Subject: Core/Unit: simplified and arranged spell bonus calculation - Remove duplicated SPELLMOD_BONUS_MULTIPLIER handling (both on done and taken) - Handle properly bonus data, don't apply bonus by default, only player spells should take into account spell power - Moved Earthliving Weapon coefficient to DB - Refactored Avenging Wrath handling Closes #13287 Closes #21230 --- sql/updates/world/3.3.5/2018_01_13_01_world_335.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_01_13_01_world_335.sql (limited to 'sql') diff --git a/sql/updates/world/3.3.5/2018_01_13_01_world_335.sql b/sql/updates/world/3.3.5/2018_01_13_01_world_335.sql new file mode 100644 index 00000000000..9672b738d25 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_01_13_01_world_335.sql @@ -0,0 +1,8 @@ +DELETE FROM `spell_bonus_data` WHERE `entry` IN (51945, 51990, 51997, 51998, 51999, 52000); +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(51945, 0, 0.1692, 0, 0, 'Shaman - Earthliving Weapon (Rank 1)'), +(51990, 0, 0.1692, 0, 0, 'Shaman - Earthliving Weapon (Rank 2)'), +(51997, 0, 0.1692, 0, 0, 'Shaman - Earthliving Weapon (Rank 3)'), +(51998, 0, 0.1692, 0, 0, 'Shaman - Earthliving Weapon (Rank 4)'), +(51999, 0, 0.1692, 0, 0, 'Shaman - Earthliving Weapon (Rank 5)'), +(52000, 0, 0.1692, 0, 0, 'Shaman - Earthliving Weapon (Rank 6)'); -- cgit v1.2.3