fix(Scripts/AreaTrigger): players become stuck after Last Rites (#23613)

This commit is contained in:
sogladev
2025-11-11 05:50:26 +01:00
committed by GitHub
parent 3c013602d5
commit c1a8047cf1
2 changed files with 4 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
--
DELETE FROM `areatrigger_scripts` WHERE `entry`=5338;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES(5338, 'at_last_rites');

View File

@@ -170,7 +170,7 @@ public:
{
QuestStatus QLR = player->GetQuestStatus(QUEST_LAST_RITES);
QuestStatus QBT = player->GetQuestStatus(QUEST_BREAKING_THROUGH);
if (!(QLR == QUEST_STATUS_INCOMPLETE || QLR == QUEST_STATUS_COMPLETE ||
if (!(QLR == QUEST_STATUS_INCOMPLETE || QLR == QUEST_STATUS_COMPLETE || QLR == QUEST_STATUS_REWARDED ||
QBT == QUEST_STATUS_INCOMPLETE || QBT == QUEST_STATUS_COMPLETE))
return false;