aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyrserth <wyrserth@protonmail.com>2019-07-07 02:57:24 +0200
committerWyrserth <wyrserth@protonmail.com>2019-07-07 02:57:24 +0200
commit644910bdc149035d64da4e1b323092a9dc314e68 (patch)
treef7f34afe2e330e9c64bdbfce2cc1d2128bd8e25d
parent6199d458c3ec4df3b0643a885e3789c88bb4e8cd (diff)
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!
-rw-r--r--sql/updates/world/3.3.5/2019_07_07_01_world.sql2
-rw-r--r--src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp2
2 files changed, 3 insertions, 1 deletions
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())