From db1dfef84731d0a71bd568ae7d25d7f80f44c029 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 21 Dec 2022 11:46:13 -0300 Subject: Golbarez: Anticipate part of the exp rewards --- npc/019-4-1/golbarez.txt | 1 + npc/functions/clientversion.txt | 2 ++ 2 files changed, 3 insertions(+) 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 -- cgit v1.2.3-60-g2f50