summaryrefslogtreecommitdiff
path: root/npc/woe-fe/trs_rp.txt
diff options
context:
space:
mode:
authorhemagx <ibrahem.h.basyone@gmail.com>2016-08-29 01:04:03 +0200
committerhemagx <ibrahem.h.basyone@gmail.com>2016-08-29 01:04:03 +0200
commitb2977e4f71128fa8764ce65ebe942b6806cffa1e (patch)
tree4f2a9b1f9a3ee6436a0b857d05caa2be7e99a877 /npc/woe-fe/trs_rp.txt
parent16f998c8a79153ed9f6721c36e129b6080fa59d2 (diff)
parent86977d79269408a371384e61111c3a9cf6e87b0c (diff)
downloadhercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.tar.gz
hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.tar.bz2
hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.tar.xz
hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.zip
Merge pull request #1411 from Asheraf/constants
Closes #1411 as merged
Diffstat (limited to 'npc/woe-fe/trs_rp.txt')
-rw-r--r--npc/woe-fe/trs_rp.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/woe-fe/trs_rp.txt b/npc/woe-fe/trs_rp.txt
index 2083ec035..74557e014 100644
--- a/npc/woe-fe/trs_rp.txt
+++ b/npc/woe-fe/trs_rp.txt
@@ -38,15 +38,15 @@ end;
OnTouch:
// Store the Guild ID of castle occupant.
- .@GID = getcastledata(strnpcinfo(2),1);
+ .@GID = getcastledata(strnpcinfo(NPC_NAME_HIDDEN),1);
if (strcharinfo(0) != getguildmaster(.@GID)) {
- if (compare(strnpcinfo(2),"aldeg"))
+ if (compare(strnpcinfo(NPC_NAME_HIDDEN),"aldeg"))
warp "aldebaran",143,112;
- else if (compare(strnpcinfo(2),"gefg"))
+ else if (compare(strnpcinfo(NPC_NAME_HIDDEN),"gefg"))
warp "geffen",120,38;
- else if (compare(strnpcinfo(2),"payg"))
+ else if (compare(strnpcinfo(NPC_NAME_HIDDEN),"payg"))
warp "payon",100,100;
- else if (compare(strnpcinfo(2),"prtg"))
+ else if (compare(strnpcinfo(NPC_NAME_HIDDEN),"prtg"))
warp "prontera",119,64;
}
end;