summaryrefslogtreecommitdiff
path: root/npc/cities
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/cities
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/cities')
-rw-r--r--npc/cities/comodo.txt2
-rw-r--r--npc/cities/louyang.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/cities/comodo.txt b/npc/cities/comodo.txt
index 8ac60a171..d60278abd 100644
--- a/npc/cities/comodo.txt
+++ b/npc/cities/comodo.txt
@@ -355,7 +355,7 @@ cmd_fild07,52,280,4 script Hallosu#cmd 4W_SAILOR,{
}
cmd_fild07,299,83,4 script Zain#cmd 4W_SAILOR,{
- .@n$ = "["+strnpcinfo(1)+"]";
+ .@n$ = "["+strnpcinfo(NPC_NAME_VISIBLE)+"]";
mes .@n$;
mes "Would you like to";
mes "board a ship on the";
diff --git a/npc/cities/louyang.txt b/npc/cities/louyang.txt
index dca5f0376..b4cfcb8ea 100644
--- a/npc/cities/louyang.txt
+++ b/npc/cities/louyang.txt
@@ -338,7 +338,7 @@ louyang,84,254,0 script Exit#lou HIDDEN_NPC,{
if (rand(1,100) == 34) {
percentheal -99,0;
warp "louyang",86,269;
- mapannounce "louyang",""+strnpcinfo(0)+" : Oh God, I'm faaaaaaaaaaaalling~~!!!!",bc_map;
+ mapannounce "louyang",""+strnpcinfo(NPC_NAME)+" : Oh God, I'm faaaaaaaaaaaalling~~!!!!",bc_map;
}
else {
warp "lou_in01",10,18;