summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-21 11:46:13 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-21 11:46:13 -0300
commitdb1dfef84731d0a71bd568ae7d25d7f80f44c029 (patch)
treece2227404b3053d4c0cbbcf1cfedac09cc6ce70c
parent5b7a246f3a0a522473ff8fefb434ba3ef9c16aec (diff)
downloadserverdata-db1dfef84731d0a71bd568ae7d25d7f80f44c029.tar.gz
serverdata-db1dfef84731d0a71bd568ae7d25d7f80f44c029.tar.bz2
serverdata-db1dfef84731d0a71bd568ae7d25d7f80f44c029.tar.xz
serverdata-db1dfef84731d0a71bd568ae7d25d7f80f44c029.zip
Golbarez: Anticipate part of the exp rewards
-rw-r--r--npc/019-4-1/golbarez.txt1
-rw-r--r--npc/functions/clientversion.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/npc/019-4-1/golbarez.txt b/npc/019-4-1/golbarez.txt
index 11750648f..1595adb47 100644
--- a/npc/019-4-1/golbarez.txt
+++ b/npc/019-4-1/golbarez.txt
@@ -48,6 +48,7 @@ L_Main:
Zeny=Zeny-.@count;
$XMAS_MONEY+=.@count;
setq3 SQuest_Christmas, .@q+.@count;
+ getexp (.@count / 150), (.@count / 250);
mesn;
mesq l("Thanks for your patronage! The rewards will be available with @@, in case I do find the paradise!", "Christmas Chief");
mesc l("Thus far, you've sponsored Golbarez in %d %% from total.", .@ratio);
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index d238dd91f..93efeaa34 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -1112,6 +1112,8 @@ function script clientupdater {
}
if (getq(HurnscaldQuest_Woody) >= 5)
Zeny+=17575;
+ if (getq3(SQuest_Christmas) && getq(SQuest_Christmas) == gettime(GETTIME_YEAR))
+ getexp (getq3(SQuest_Christmas) / 150), (getq3(SQuest_Christmas) / 250);
}
// :// End of Regular Update System