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!
This commit is contained in:
Wyrserth
2019-07-07 02:57:24 +02:00
parent 6199d458c3
commit 644910bdc1
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
--
UPDATE `trainer_spell` SET `ReqAbility1`=0 WHERE `SpellId` IN (33391, 34090, 34091);

View File

@@ -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())