summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}