summaryrefslogtreecommitdiff
path: root/npc/re/warps/fields
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/warps/fields
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/warps/fields')
-rw-r--r--npc/re/warps/fields/bif_fild.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/re/warps/fields/bif_fild.txt b/npc/re/warps/fields/bif_fild.txt
index 2122ae15f..68e3f4f7a 100644
--- a/npc/re/warps/fields/bif_fild.txt
+++ b/npc/re/warps/fields/bif_fild.txt
@@ -47,7 +47,7 @@ mora,56,25,0 warp bifrost_field0005 1,1,bif_fild02,176,162
mes "When you knock on the door-like thing just for fun,";
mes "the door clicks open and you feel some mysterious force pulling you inside.";
close2;
- switch(atoi(charat(strnpcinfo(2),9))) {
+ switch(atoi(charat(strnpcinfo(NPC_NAME_HIDDEN),9))) {
case 1: warp "mora",179,74; end;
case 2: warp "mora",22,157; end;
case 3: warp "mora",58,27; end;