diff options
author | Haru <haru@dotalux.com> | 2019-03-11 00:56:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-11 00:56:49 +0100 |
commit | 47cfee479ebf61942be2af9540013469d6806f13 (patch) | |
tree | ba5958cdd3893c0bf1a2e43cd6f53de2d34768e6 /npc/re/jobs/3-1/ranger.txt | |
parent | 28eb50882484697b10fa4764b3e0fd91d9e12a4e (diff) | |
parent | 0d99c3487f4efa10407879112ad0db24be86d5ff (diff) | |
download | hercules-47cfee479ebf61942be2af9540013469d6806f13.tar.gz hercules-47cfee479ebf61942be2af9540013469d6806f13.tar.bz2 hercules-47cfee479ebf61942be2af9540013469d6806f13.tar.xz hercules-47cfee479ebf61942be2af9540013469d6806f13.zip |
Merge pull request #2397 from AnnieRuru/68-getmercinfo
Add constants and MERCINFO_GID to *getmercinfo script command
Diffstat (limited to 'npc/re/jobs/3-1/ranger.txt')
-rw-r--r-- | npc/re/jobs/3-1/ranger.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/jobs/3-1/ranger.txt b/npc/re/jobs/3-1/ranger.txt index 41e5b476f..166a1d42e 100644 --- a/npc/re/jobs/3-1/ranger.txt +++ b/npc/re/jobs/3-1/ranger.txt @@ -613,7 +613,7 @@ tur_dun01,91,169,3 script Test Instructor#jr02 4_M_JOB_HUNTER,{ mes "Don't hang around here doing nothing. This is my area!"; close; L_Start: - if (getmercinfo(1)) { + if (getmercinfo(MERCINFO_CLASS)) { mes "[Test Instructor, Teardrop]"; mes "Stop!"; next; @@ -1491,7 +1491,7 @@ job3_rang02,251,49,3 script Test Supervisor#jr_13 4_M_JOB_HUNTER,{ setquest 8261; close; } - if (getmercinfo(1) == 2034) { + if (getmercinfo(MERCINFO_CLASS) == M_DESERT_WOLF_B) { erasequest 8261; mes "Good! Then I'll start the test right now!"; next; |