[Bug Fix] OP_Taunt checks if we have the skill (#1913)

This commit is contained in:
Natedog2012 2022-01-03 14:54:36 -06:00 committed by GitHub
parent d107ff3069
commit 26b160c59b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14118,6 +14118,10 @@ void Client::Handle_OP_Taunt(const EQApplicationPacket *app)
return; return;
} }
if (!HasSkill(EQ::skills::SkillTaunt)) {
return;
}
if (!p_timers.Expired(&database, pTimerTaunt, false)) { if (!p_timers.Expired(&database, pTimerTaunt, false)) {
Message(Chat::Red, "Ability recovery time not yet met."); Message(Chat::Red, "Ability recovery time not yet met.");
return; return;