From 9f5d1e2b10013e5fecf35fdd5af70921c96d07d1 Mon Sep 17 00:00:00 2001 From: ariel- Date: Sat, 20 Jan 2018 21:00:53 -0300 Subject: Core/Scripts: fix wrong uses of SetHitDamage hook. This hook modifies damage AFTER it has been reduced by target auras/armor/resistances etc, it's useful if you want to scale damage by a factor, but not to add flat bonuses. We're fixing those by moving calculation to Launch phase, where target taken bonuses haven't been used yet. - Bronjahm: Magic's Bane - BPC: Shadow Prison - Oculus: Shock Lance - Ymiron: Dark Slash (extra fix, it was wrongly damaging half of total health, it's supposed to be half of CURRENT health!) - DK: Raise Ally Thrash spell (also extra fix: corrected formula) - Warrior: Bloodthirst (shouldn't matter much as it's damage class none and those don't get bonuses by default) - Warrior: Concussion Blow - Warlock: extra fix for Haunt, healing part shouldn't scale with spell power Closes #9560 --- sql/updates/world/3.3.5/2018_01_21_00_world.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_01_21_00_world.sql (limited to 'sql/updates') diff --git a/sql/updates/world/3.3.5/2018_01_21_00_world.sql b/sql/updates/world/3.3.5/2018_01_21_00_world.sql new file mode 100644 index 00000000000..fe27557969e --- /dev/null +++ b/sql/updates/world/3.3.5/2018_01_21_00_world.sql @@ -0,0 +1,8 @@ +DELETE FROM `spell_bonus_data` WHERE `entry`=48210; +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(48210, 0, 0, 0, 0, 'Warlock - Haunt heal'); + +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_gen_50pct_count_pct_from_max_hp' AND `spell_id`=48292; +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dark_slash'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(48292, 'spell_dark_slash'); -- cgit v1.2.3