From 2f2ea55b50e8046846cc27ebcc3433ed7ecd5f27 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 10 Jun 2021 15:44:24 -0300 Subject: Fix a couple typos on Valon, which resulted in wrong monster being reported --- npc/029-1/valon.txt | 5 ++--- npc/functions/quests.txt | 2 +- 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; } -- cgit v1.2.3-60-g2f50