summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-11-22 15:30:11 -0300
committerJesusaves <cpntb1@ymail.com>2020-11-22 15:30:11 -0300
commite4ca951af1ea57067861680003fbec05d0535418 (patch)
treefe0d48f61d2b7aa0223dce5b546d6f648419a23c
parent0e26611d5ec9df55e4433cb5a3d9b4d14cd76c9d (diff)
downloadserverdata-e4ca951af1ea57067861680003fbec05d0535418.tar.gz
serverdata-e4ca951af1ea57067861680003fbec05d0535418.tar.bz2
serverdata-e4ca951af1ea57067861680003fbec05d0535418.tar.xz
serverdata-e4ca951af1ea57067861680003fbec05d0535418.zip
Fix bug in Nahrec (outdated script) and also limited reimbursement for players
affected by the bug. (Namely, YuckFou)
-rw-r--r--npc/017-5/nahrec.txt8
-rw-r--r--npc/functions/clientversion.txt12
2 files changed, 15 insertions, 5 deletions
diff --git a/npc/017-5/nahrec.txt b/npc/017-5/nahrec.txt
index e9858acba..538bed376 100644
--- a/npc/017-5/nahrec.txt
+++ b/npc/017-5/nahrec.txt
@@ -58,8 +58,8 @@ function NahrecMain {
mesn;
mesq l("Yes, I can craft many things. In addition to plating and improving armor, I can craft smaller items made of gold and other metals.");
select
- rif(!RECIPES_EQUIPMENT[CraftGoldenLightPlate], l("Can you improve my Light Platemail for me?")),
- rif(!RECIPES_EQUIPMENT[CraftGoldenWarlord], l("Can you improve my Warlord Plate for me?")),
+ rif(!RECIPES_EQUIPMENT[CraftGoldenLightPlatemail], l("Can you improve my Light Platemail for me?")),
+ rif(!RECIPES_EQUIPMENT[CraftGoldenWarlordPlate], l("Can you improve my Warlord Plate for me?")),
l("Can you craft Chainmail?"),
l("Can you craft Light Platemail?"),
l("Can you craft Warlord Plate?"),
@@ -76,7 +76,7 @@ function NahrecMain {
if (askyesno() == ASK_YES && Zeny > 30000) {
mes "";
Zeny-=30000;
- RECIPES_EQUIPMENT[CraftGoldenLightPlate]=true;
+ RECIPES_EQUIPMENT[CraftGoldenLightPlatemail]=true;
mesn;
mesc l("Nahrec discretly gives you a recipe.");
mesc l("\"*psst, just follow what is outlined here to make it golden.*\"");
@@ -89,7 +89,7 @@ function NahrecMain {
if (askyesno() == ASK_YES && Zeny > 200000) {
mes "";
Zeny-=200000;
- RECIPES_EQUIPMENT[CraftGoldenWarlord]=true;
+ RECIPES_EQUIPMENT[CraftGoldenWarlordPlate]=true;
mesn;
mesc l("Nahrec discretly gives you a recipe.");
mesc l("\"*psst, just follow what is outlined here to make it golden.*\"");
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 46891f9c6..b95ff58a0 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -973,7 +973,17 @@ function script clientupdater {
skillInvoke[TMW2_HEALING]+=skillInvoke[AB_HIGHNESSHEAL];
skillInvoke[AB_HIGHNESSHEAL]=0;
-
+ }
+ // Misc bugfixes
+ // dom nov 22 15:27:47 BRT 2020
+ if (UPDATE < 1606069667) {
+ UPDATE=1606069667;
+ if (RECIPES_EQUIPMENT[0]) {
+ Zeny += 15000;
+ getitem PrismGift, 1;
+ RECIPES_EQUIPMENT[0] = false;
+ dispbottom l("Invalid recipe from Nahrec partly reimbursed.");
+ }
}
// :// End of Regular Update System