From 04b51f13900ac310c6f4edb31d533e3a4963579b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 4 Dec 2022 17:42:28 -0300 Subject: Refactor this a tiny bit --- npc/functions/clientversion.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index c97a87034..980ec111c 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -1072,6 +1072,14 @@ function script clientupdater { // sáb 26 nov 2022 16:44:35 -03 if (UPDATE < 1669491875) { UPDATE=1669491875; + if (getq(HurnscaldQuest_ForestBow)) + getitem TrainingArrow, 220; + if (getq3(TulimsharQuest_Swezanne) > 30) + getitem MercCard_Swezanne, 9 * (getq3(TulimsharQuest_Swezanne)/30); + if (getq(TulimsharQuest_MobTutorial) >= 4) + getitem SulfurPowder, 1; + if (getq(TulimsharQuest_MobTutorial) >= 8) + getitem SulfurPowder, 3; if (TUT_VAR) { .@dg = true; // Allow you to choose the starting trait @@ -1082,14 +1090,6 @@ function script clientupdater { do { mesc l("You must choose a trait now, or the opportunity will be forfeit."), 1; next; } while (!ChooseTrait()); #TUTORIAL_DONE = true; } - if (getq(HurnscaldQuest_ForestBow)) - getitem TrainingArrow, 220; - if (getq3(TulimsharQuest_Swezanne) > 30) - getitem MercCard_Swezanne, 9 * (getq3(TulimsharQuest_Swezanne)/30); - if (getq(TulimsharQuest_MobTutorial) >= 4) - getitem SulfurPowder, 1; - if (getq(TulimsharQuest_MobTutorial) >= 8) - getitem SulfurPowder, 3; } // :// End of Regular Update System -- cgit v1.2.3-60-g2f50