/// <summary> /// Removes Quest from Active log and adds it to the finished Quests /// </summary> public void ArchiveQuest() { if (!m_Log.m_FinishedQuests.Contains(Template.Id)) { m_Log.m_FinishedQuests.Add(Template.Id); Template.NotifyFinished(this); int num = Template.IsDaily ? 1 : 0; } m_Log.RemoveQuest(this); }
/// <summary> /// Removes Quest from Active log and adds it to the finished Quests /// </summary> public void ArchiveQuest() { if (!m_Log.m_FinishedQuests.Contains(Template.Id)) { m_Log.m_FinishedQuests.Add(Template.Id); Template.NotifyFinished(this); if (Template.IsDaily) { //TODO Add Daily Quest logic //m_CurrentDailyCount++; } } m_Log.RemoveQuest(this); }