mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-30 05:12:25 +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;
|
std::cout << "Wrong size on OP_Taunt. Got: " << app->size << ", Expected: " << sizeof(ClientTarget_Struct) << std::endl;
|
||||||
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.");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user