diff options
-rw-r--r-- | npc/009-5/alvasus.txt | 15 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 6 |
2 files changed, 15 insertions, 6 deletions
diff --git a/npc/009-5/alvasus.txt b/npc/009-5/alvasus.txt index 3bb6ddfe4..7a3c7cbef 100644 --- a/npc/009-5/alvasus.txt +++ b/npc/009-5/alvasus.txt @@ -20,17 +20,20 @@ // Q3: Current Week Number (for repeat) 009-5,29,39,0 script Alvasus NPC_PLAYER,{ + if (!getq(HalinarzoQuest_Alvasus)) + setq HalinarzoQuest_Alvasus, 1, 0, atoi(gettimestr("%U", 2)); + .@q3 = getq3(HalinarzoQuest_Alvasus); .@q2 = getq2(HalinarzoQuest_Alvasus); if (.@q3 != atoi(gettimestr("%U", 2))) - setq HalinarzoQuest_Alvasus, 0, .@q2, atoi(gettimestr("%U", 2)); + setq HalinarzoQuest_Alvasus, 1, .@q2, atoi(gettimestr("%U", 2)); if (gettime(GETTIME_WEEKDAY) == SUNDAY) goto L_Sunday; .@q = getq(HalinarzoQuest_Alvasus); if (BaseLevel < 19) goto L_TooWeak; - if (.@q == 0) goto L_GiveTask; - if (.@q == 1) goto L_Check; - if (.@q == 2) goto L_Complete; + if (.@q == 1) goto L_GiveTask; + if (.@q == 2) goto L_Check; + if (.@q == 3) goto L_Complete; closedialog; goodbye; @@ -111,7 +114,7 @@ L_Quest: L_Start: - setq1 HalinarzoQuest_Alvasus, 1; + setq1 HalinarzoQuest_Alvasus, 2; mes ""; mesn; mesq l("Ok, let's see how many you have and how many I need:"); @@ -152,7 +155,7 @@ L_Give: getexp(700+.@q2, 1+.@q2); Zeny=Zeny+(.@q2*5); - setq1(HalinarzoQuest_Alvasus, 2); + setq1(HalinarzoQuest_Alvasus, 3); setq2 HalinarzoQuest_Alvasus, .@q2+1; setq3 HalinarzoQuest_Alvasus, atoi(gettimestr("%U", 2)); diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 40fc5c56b..0492279bc 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -972,6 +972,12 @@ function script clientupdater { strcharinfo(0), academicrank())); } } + // Change some quest inner workings + // qua set 22 12:30:40 BRT 2021 + if (UPDATE < 1632324640) { + UPDATE=1632324640; + setq1 HalinarzoQuest_Alvasus, getq(HalinarzoQuest_Alvasus)+1; + } // :// End of Regular Update System //////////////////////////////////// |