[Skills] RoF+ allows other classes to have feign death if set in skill_caps (#1902)

This commit is contained in:
Natedog2012
2021-12-29 10:17:31 -06:00
committed by GitHub
parent 323b35989c
commit e45f02af95
+3 -1
View File
@@ -5894,8 +5894,10 @@ void Client::Handle_OP_FaceChange(const EQApplicationPacket *app)
void Client::Handle_OP_FeignDeath(const EQApplicationPacket *app)
{
if (GetClass() != MONK)
if (!HasSkill(EQ::skills::SkillFeignDeath)) {
return;
}
if (!p_timers.Expired(&database, pTimerFeignDeath, false)) {
Message(Chat::Red, "Ability recovery time not yet met.");
return;