summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-06-10 15:44:24 -0300
committerJesusaves <cpntb1@ymail.com>2021-06-10 15:44:24 -0300
commit2f2ea55b50e8046846cc27ebcc3433ed7ecd5f27 (patch)
tree830ddeceacce9933e863c5902fddd5c59aa91a19
parent71bff464d4f33a7191768f91eb4d781a591c39bd (diff)
downloadserverdata-2f2ea55b50e8046846cc27ebcc3433ed7ecd5f27.tar.gz
serverdata-2f2ea55b50e8046846cc27ebcc3433ed7ecd5f27.tar.bz2
serverdata-2f2ea55b50e8046846cc27ebcc3433ed7ecd5f27.tar.xz
serverdata-2f2ea55b50e8046846cc27ebcc3433ed7ecd5f27.zip
Fix a couple typos on Valon, which resulted in wrong monster being reported
-rw-r--r--npc/029-1/valon.txt5
-rw-r--r--npc/functions/quests.txt2
2 files changed, 3 insertions, 4 deletions
diff --git a/npc/029-1/valon.txt b/npc/029-1/valon.txt
index 13d066f2..9c5053a2 100644
--- a/npc/029-1/valon.txt
+++ b/npc/029-1/valon.txt
@@ -2,8 +2,7 @@
end;
OnInit:
- setarray $@ValonMob, Maggot,HouseMaggot,TameScorpion,Scorpion;
- setarray $@ValonMobName$, "Maggots","House Maggots","Tame Scorpions","Scorpion";
+ setarray $@ValonMob, Maggot, HouseMaggot, TameScorpion, Scorpion;
setarray $@ValonMobCnt, 10,5,3,1;
end;
}
@@ -82,7 +81,7 @@ L_NextMob:
goto L_NewMob;
L_NewMob:
- mesq l("Let's see whats on the list. Ah ok, I need you to kill me %d %s.", $@ValonMobCnt[@valon_mob], getmonsterlink(@valon_mob));
+ mesq l("Let's see whats on the list. Ah ok, I need you to kill me %d %s.", $@ValonMobCnt[@valon_mob], getmonsterlink($@ValonMob[@valon_mob]));
mesq l("I'll be waiting here, come back and see after you've killed those mobs.");
close;
diff --git a/npc/functions/quests.txt b/npc/functions/quests.txt
index 657b7eff..4706a517 100644
--- a/npc/functions/quests.txt
+++ b/npc/functions/quests.txt
@@ -51,7 +51,7 @@ function script ResetValonCntMask {
function script ValonProgress {
ValonCount();
if ((getq(CandorQuest_Valon) > 1) && (getq(CandorQuest_Valon) < 6))
- message strcharinfo(0), $@ValonMobName$[@valon_mob] + ": " + @valon_count + "/" + $@ValonMobCnt[@valon_mob];
+ message strcharinfo(0), getmonsterinfo($@ValonMob[@valon_mob], MOB_NAME) + ": " + @valon_count + "/" + $@ValonMobCnt[@valon_mob];
return;
}