diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-12-04 17:42:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-12-04 17:42:28 -0300 |
commit | 04b51f13900ac310c6f4edb31d533e3a4963579b (patch) | |
tree | b283c67e3a1db82b07ef222f476905eee53cee58 /npc/functions | |
parent | fb1e0ff1fb23cf71a43827290b9ccf3766b6b37a (diff) | |
download | serverdata-04b51f13900ac310c6f4edb31d533e3a4963579b.tar.gz serverdata-04b51f13900ac310c6f4edb31d533e3a4963579b.tar.bz2 serverdata-04b51f13900ac310c6f4edb31d533e3a4963579b.tar.xz serverdata-04b51f13900ac310c6f4edb31d533e3a4963579b.zip |
Refactor this a tiny bit
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/clientversion.txt | 16 |
1 files 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 |