mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
[Skills] RoF+ allows other classes to have feign death if set in skill_caps (#1902)
This commit is contained in:
parent
323b35989c
commit
e45f02af95
@ -5894,8 +5894,10 @@ void Client::Handle_OP_FaceChange(const EQApplicationPacket *app)
|
|||||||
|
|
||||||
void Client::Handle_OP_FeignDeath(const EQApplicationPacket *app)
|
void Client::Handle_OP_FeignDeath(const EQApplicationPacket *app)
|
||||||
{
|
{
|
||||||
if (GetClass() != MONK)
|
if (!HasSkill(EQ::skills::SkillFeignDeath)) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!p_timers.Expired(&database, pTimerFeignDeath, false)) {
|
if (!p_timers.Expired(&database, pTimerFeignDeath, false)) {
|
||||||
Message(Chat::Red, "Ability recovery time not yet met.");
|
Message(Chat::Red, "Ability recovery time not yet met.");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user