mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Scripts/AreaTrigger): players become stuck after Last Rites (#23613)
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
--
|
||||||
|
DELETE FROM `areatrigger_scripts` WHERE `entry`=5338;
|
||||||
|
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES(5338, 'at_last_rites');
|
||||||
@@ -170,7 +170,7 @@ public:
|
|||||||
{
|
{
|
||||||
QuestStatus QLR = player->GetQuestStatus(QUEST_LAST_RITES);
|
QuestStatus QLR = player->GetQuestStatus(QUEST_LAST_RITES);
|
||||||
QuestStatus QBT = player->GetQuestStatus(QUEST_BREAKING_THROUGH);
|
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))
|
QBT == QUEST_STATUS_INCOMPLETE || QBT == QUEST_STATUS_COMPLETE))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user