예제 #1
0
        internal override void Execute()
        {
            LogicQuest quest = LogicQuests.Quests[this.QuestData.GlobalID];

            quest.Avatar = this.Connection.Avatar;
            quest.Data   = this.QuestData;

            quest.Start();

            this.Connection.Avatar.Save();
        }
        internal override void Execute()
        {
            LogicQuest quest = LogicQuests.Quests[this.QuestData.GlobalID];

            if (this.Connection.Avatar.OngoingQuestData.Name != quest.Name)
            {
                quest.Avatar = this.Connection.Avatar;
                quest.Data   = this.QuestData;

                quest.Start();
            }

            this.Connection.Avatar.Save();
        }