From 15aabc76f6216af8c7def75f76e934b8a97ea023 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 13 Jul 2019 01:42:34 -0300 Subject: Bad priority --- npc/003-10/kreist.txt | 14 +++++++------- npc/024-16/generals.txt | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/npc/003-10/kreist.txt b/npc/003-10/kreist.txt index 068625dda..3e81d15df 100644 --- a/npc/003-10/kreist.txt +++ b/npc/003-10/kreist.txt @@ -65,6 +65,13 @@ L_QuestMaster: setq .@q, .@q1, .@q2, 0; } + // Maybe there is no monster to kill + if (!.@q2) { + mesn l("Kreist, Taskmaster"); + mesq l("You've already completed this quest today. Try again tomorrow."); + close; + } + // Maybe you finished the quest? if (.@q3 >= 100) { mesn l("Kreist, Taskmaster"); @@ -84,13 +91,6 @@ L_QuestMaster: close; } - // Maybe there is no monster to kill - if (!.@q2) { - mesn l("Kreist, Taskmaster"); - mesq l("You've already completed this quest today. Try again tomorrow."); - close; - } - mesn l("Kreist, Taskmaster"); mesq l("So, please kill @@/100 @@ for us and make the world a safer place!", .@q3, getmonsterlink(.@q2)); close; diff --git a/npc/024-16/generals.txt b/npc/024-16/generals.txt index b5a0ddfcb..5d051de52 100644 --- a/npc/024-16/generals.txt +++ b/npc/024-16/generals.txt @@ -19,6 +19,13 @@ function script FrostiaTaskMaster { setq .@q, .@q1, .@q2, 0; } + // Maybe there is no monster to kill + if (!.@q2) { + mesn; + mesq l("You've already completed this quest today. Try again tomorrow."); + return true; + } + // Maybe you finished the quest? if (.@q3 >= 100) { mesn; @@ -34,13 +41,6 @@ function script FrostiaTaskMaster { return false; } - // Maybe there is no monster to kill - if (!.@q2) { - mesn; - mesq l("You've already completed this quest today. Try again tomorrow."); - return true; - } - mesn; mesq l("So, please kill @@/100 @@ for us and make the world a safer place!", .@q3, getmonsterlink(.@q2)); return false; -- cgit v1.2.3-70-g09d2