summaryrefslogtreecommitdiff
path: root/npc/quests/quests_morocc.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/quests/quests_morocc.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/quests/quests_morocc.txt')
-rw-r--r--npc/quests/quests_morocc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/quests/quests_morocc.txt b/npc/quests/quests_morocc.txt
index 8cb418508..6d5ab7325 100644
--- a/npc/quests/quests_morocc.txt
+++ b/npc/quests/quests_morocc.txt
@@ -1110,7 +1110,7 @@ moc_fild20,203,336,5 duplicate(MocConGuard) Continental Guard#07 4_M_MOC_SOLDIER
moc_fild20,215,336,3 duplicate(MocConGuard) Continental Guard#08 4_M_MOC_SOLDIER,3,3
- script Continental Messenger#00::ConMessenger 4_M_MOCASS1,3,3,{
- .@area$ = strnpcinfo(2);
+ .@area$ = strnpcinfo(NPC_NAME_HIDDEN);
if (.@area$ == "01") { .@area$ = "Prontera"; }
else if (.@area$ == "02") { .@area$ = "Geffen"; }
else if (.@area$ == "03") { .@area$ = "Payon"; }
@@ -2074,7 +2074,7 @@ sec_in02,14,43,5 script Morroc GlobalVar Admin::MorrocAdmin_sec 4_F_RUSGREEN,{
mes "Alright.";
close;
case 2:
- if (strnpcinfo(4) == "sec_in02")
+ if (strnpcinfo(NPC_MAP) == "sec_in02")
mes "You can reset at moc_fild21 5 5.";
else {
mes "Reset starts.";