8 public override void Execute()
10 EClass.player.returnInfo =
null;
11 if (this.uidQuest == 0)
15 Quest quest =
EClass.game.quests.Get(this.uidQuest);
16 Chara chara =
EClass._map.FindChara(this.uidClient);
17 if (chara ==
null || chara.quest ==
null)
19 string[] array =
new string[7];
20 array[0] = this.uidClient.ToString();
22 array[2] = this.uidQuest.ToString();
24 array[4] = this.fail.ToString();
28 array[num] = ((quest2 !=
null) ? quest2.ToString() :
null);
29 Debug.Log(
string.Concat(array));
30 string str =
"exception: quest not found:";
32 string str2 = (chara2 !=
null) ? chara2.ToString() :
null;
34 Quest quest3 = (chara !=
null) ? chara.quest :
null;
35 Debug.LogError(str + str2 + str3 + ((quest3 !=
null) ? quest3.ToString() :
null));
38 if (quest ==
null && chara.quest.uid ==
this.uidQuest)
54 if (
EClass.pc.IsAliveInCurrentZone)
56 chara.ShowDialog(
"_chara", this.fail ?
"quest_fail" :
"quest_success",
"");