[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

@ -14117,6 +14117,10 @@ void Client::Handle_OP_Taunt(const EQApplicationPacket *app)
std::cout << "Wrong size on OP_Taunt. Got: " << app->size << ", Expected: " << sizeof(ClientTarget_Struct) << std::endl;
return;
}
if (!HasSkill(EQ::skills::SkillTaunt)) {
return;
}
if (!p_timers.Expired(&database, pTimerTaunt, false)) {
Message(Chat::Red, "Ability recovery time not yet met.");