summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-08 18:03:38 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-08 18:03:38 -0300
commit68769e49342e60412719169d3f25043c58601a38 (patch)
tree9e6ed8cc314e0e4fa1ddec28957c04a60e022b13 /npc
parent28a1baf598f9b5b1a956e6394e10c4453eb635fb (diff)
downloadserverdata-68769e49342e60412719169d3f25043c58601a38.tar.gz
serverdata-68769e49342e60412719169d3f25043c58601a38.tar.bz2
serverdata-68769e49342e60412719169d3f25043c58601a38.tar.xz
serverdata-68769e49342e60412719169d3f25043c58601a38.zip
Give proper rewards for finishing quest.
Also, correct a small tiny bug on client updater.
Diffstat (limited to 'npc')
-rw-r--r--npc/012-1/guards.txt5
-rw-r--r--npc/functions/clientversion.txt8
2 files changed, 10 insertions, 3 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt
index a37e1c67f..1186d0ebc 100644
--- a/npc/012-1/guards.txt
+++ b/npc/012-1/guards.txt
@@ -118,9 +118,12 @@ L_Assign:
case 14:
.@tea=JasmineTea; .@gift=GoldenGift; .@rare=MercBoxEE;
break;
- default: // 15+
+ case 15:
.@tea=YerbaMate; .@gift=PrismGift; .@rare=MysteriousFruit;
break;
+ default: // 16+
+ .@tea=ElixirOfLife; .@gift=PrismGift; .@rare=MylarinDust;
+ break;
}
mesc l("For your incredibly hard work, you got:");
mesf("* %d %s", 1, getitemlink(.@tea));
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index c9489de52..eb0ee3dcf 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -720,11 +720,15 @@ function script clientupdater {
if (UPDATE < 1581146147) {
UPDATE=1581146147;
// Lt. Paul new rewards
- .@fc=getq(HurnscaldQuest_Lieutenant);
- // I doubt there's someone 15+. Default is <10
+ .@fc=getq(HurnscaldQuest_Lieutenant)+1;
+ // Default is < 10 (ie. not on extension)
// This is a huge implicit fallthrough,
// Making you inheir all previous rewards
switch (.@fc) {
+ case 16:
+ getitem ElixirOfLife, 1;
+ getitem PrismGift, 1;
+ getitem MylarinDust, 1;
case 15:
getitem YerbaMate, 1;
getitem PrismGift, 1;