Core/Quests: Un-deprecate QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT

Port From (https://github.com/TrinityCore/TrinityCore/commit/3ad389efee4a24e2f94c9eb39aeddf83d320eaf0)
This commit is contained in:
hondacrx
2021-05-11 12:55:00 -04:00
parent 5915e1a9a0
commit a762465675
6 changed files with 29 additions and 26 deletions
+5 -2
View File
@@ -692,7 +692,9 @@ namespace Game.Entities
GetName(), GetGUID().ToString(), quest_id, qstatus);
}
long quest_time = result.Read<long>(2);
questStatusData.Explored = (result.Read<byte>(2) > 0);
long quest_time = result.Read<long>(3);
if (quest.LimitTime != 0 && !GetQuestRewardStatus(quest_id))
{
@@ -1948,7 +1950,8 @@ namespace Game.Entities
stmt.AddValue(0, GetGUID().GetCounter());
stmt.AddValue(1, save.Key);
stmt.AddValue(2, (byte)data.Status);
stmt.AddValue(3, data.Timer / Time.InMilliseconds + GameTime.GetGameTime());
stmt.AddValue(3, data.Explored);
stmt.AddValue(4, data.Timer / Time.InMilliseconds + GameTime.GetGameTime());
trans.Append(stmt);
// Save objectives