mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-04 11:33:52 +00:00
[Bug Fix] OP_Taunt checks if we have the skill (#1913)
This commit is contained in:
parent
d107ff3069
commit
26b160c59b
@ -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.");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user