aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorNaddley <64811442+Naddley@users.noreply.github.com>2025-05-11 17:00:25 +0200
committerGitHub <noreply@github.com>2025-05-11 17:00:25 +0200
commit2c6ef0699f4dccd88c73de86ac878012b75321ab (patch)
tree32a6043359dc21afcecac840e9f11b92ba43d75d /sql
parentfc879ee87e725773c6e976bcfc07460a01438766 (diff)
Scripts/Spells: Implement spell no NPC damage below override (#30932)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2025_05_11_02_world.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/master/2025_05_11_02_world.sql b/sql/updates/world/master/2025_05_11_02_world.sql
new file mode 100644
index 00000000000..7232e651295
--- /dev/null
+++ b/sql/updates/world/master/2025_05_11_02_world.sql
@@ -0,0 +1,9 @@
+-- Scriptname
+DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_gen_no_npc_damage_below_override_70';
+INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
+(155893, 'spell_gen_no_npc_damage_below_override_70');
+
+-- Template Addon
+DELETE FROM `creature_template_addon` WHERE `entry` IN (128703 /*128703 (Vengeful Bones) - No NPC Damage Below Override Points%*/);
+INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
+(128703, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '155893'); -- 128703 (Vengeful Bones) - No NPC Damage Below Override Points%