summaryrefslogtreecommitdiff
path: root/npc/pre-re
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/pre-re
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/pre-re')
-rw-r--r--npc/pre-re/jobs/novice/novice.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/pre-re/jobs/novice/novice.txt b/npc/pre-re/jobs/novice/novice.txt
index 369e98c4e..afea49143 100644
--- a/npc/pre-re/jobs/novice/novice.txt
+++ b/npc/pre-re/jobs/novice/novice.txt
@@ -2661,7 +2661,7 @@ new_1-3,95,30,4 script Trainer#nv1::NovHoffman 4_M_02,{
mes "I see, then let me guide";
mes "you to a training ground that has stronger monsters. May God be with you...";
next;
- if (strnpcinfo(2) == "nv1") {
+ if (strnpcinfo(NPC_NAME_HIDDEN) == "nv1") {
if (rand(2)) {
warp "new_2-3",96,21;
}
@@ -2681,7 +2681,7 @@ new_1-3,95,30,4 script Trainer#nv1::NovHoffman 4_M_02,{
mes "be careful, it can get";
mes "pretty difficult...";
next;
- if (strnpcinfo(2) == "nv1" || strnpcinfo(2) == "nv2" || strnpcinfo(2) == "nv3") {
+ if (strnpcinfo(NPC_NAME_HIDDEN) == "nv1" || strnpcinfo(NPC_NAME_HIDDEN) == "nv2" || strnpcinfo(NPC_NAME_HIDDEN) == "nv3") {
if (rand(2)) {
warp "new_4-3",96,21;
}