From 644910bdc149035d64da4e1b323092a9dc314e68 Mon Sep 17 00:00:00 2001 From: Wyrserth Date: Sun, 7 Jul 2019 02:57:24 +0200 Subject: [PATCH] DB/Trainer: remove required ability from Riding spells. The client should only show the required amount of skill. Also comment out unused argument in previously committed script, thanks Aokromes for noticing! --- sql/updates/world/3.3.5/2019_07_07_01_world.sql | 2 ++ src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 sql/updates/world/3.3.5/2019_07_07_01_world.sql diff --git a/sql/updates/world/3.3.5/2019_07_07_01_world.sql b/sql/updates/world/3.3.5/2019_07_07_01_world.sql new file mode 100644 index 00000000000..8a0f825c0d0 --- /dev/null +++ b/sql/updates/world/3.3.5/2019_07_07_01_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `trainer_spell` SET `ReqAbility1`=0 WHERE `SpellId` IN (33391, 34090, 34091); diff --git a/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp b/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp index 74992196fa0..9d605e519d4 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp @@ -317,7 +317,7 @@ class boss_urom : public CreatureScript } } - void DamageTaken(Unit* attacker, uint32& damage) override + void DamageTaken(Unit* /*attacker*/, uint32& damage) override { // If killed while in center, teleport to a valid ground position before dying if (damage >= me->GetHealth())