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

This commit is contained in:
Natedog2012 authored and GitHub committed 2021-12-29 11:17:31 -05:00
1 parent 323b35989c
commit e45f02af95
1 file changed
+3 -1
+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;