summaryrefslogtreecommitdiff
path: root/npc/re/jobs/3-1/rune_knight.txt
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-28 17:03:57 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-08-29 01:03:42 +0200
commit86977d79269408a371384e61111c3a9cf6e87b0c (patch)
tree4f2a9b1f9a3ee6436a0b857d05caa2be7e99a877 /npc/re/jobs/3-1/rune_knight.txt
parent16f998c8a79153ed9f6721c36e129b6080fa59d2 (diff)
downloadhercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.gz
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.bz2
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.tar.xz
hercules-86977d79269408a371384e61111c3a9cf6e87b0c.zip
*strnpcinfo now uses constants
- NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map
Diffstat (limited to 'npc/re/jobs/3-1/rune_knight.txt')
-rw-r--r--npc/re/jobs/3-1/rune_knight.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/jobs/3-1/rune_knight.txt b/npc/re/jobs/3-1/rune_knight.txt
index 237c1f33e..fb875278d 100644
--- a/npc/re/jobs/3-1/rune_knight.txt
+++ b/npc/re/jobs/3-1/rune_knight.txt
@@ -1236,13 +1236,13 @@ mid_camp,13,138,3 script Dispatched Rune Knight#1 4_M_01,2,2,{
mes "I've been waiting for you Rune Knight candidate. I'm helping the candidates as a favor to Ms. Serpeone.";
next;
mes "[Dispatched Rune Knight]";
- if (strnpcinfo(0) == "Dispatched Rune Knight#1") {
+ if (strnpcinfo(NPC_NAME) == "Dispatched Rune Knight#1") {
mes "Do you want to go out to the Splendide field?";
next;
if(select("Move to Splendide field", "Cancel.") == 1)
warp "spl_fild01",355,325;
close;
- } else if (strnpcinfo(0) == "Dispatched Rune Knight#2") {
+ } else if (strnpcinfo(NPC_NAME) == "Dispatched Rune Knight#2") {
mes "Do you want to go back to the expeditionary team's post?";
next;
if(select("Yes please.", "Not yet.") == 1)