aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/world
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-01-13 19:57:20 -0300
committerariel- <ariel-@users.noreply.github.com>2018-01-13 20:49:44 -0300
commitd570e2af3e7bcb625d8941397d55972d49319a8f (patch)
treed1f0e8cfa2651b34b808255b3a03260182ae0ba3 /sql/updates/world
parenta3056617854ec3957ed57126e27c6b3bea066448 (diff)
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
Diffstat (limited to 'sql/updates/world')
-rw-r--r--sql/updates/world/3.3.5/2018_01_13_01_world_335.sql8
1 files changed, 8 insertions, 0 deletions
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)');