diff options
author | Asheraf <acheraf1998@gmail.com> | 2016-08-28 17:03:57 +0100 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-08-29 01:03:42 +0200 |
commit | 86977d79269408a371384e61111c3a9cf6e87b0c (patch) | |
tree | 4f2a9b1f9a3ee6436a0b857d05caa2be7e99a877 /npc/re/jobs/3-2/sorcerer.txt | |
parent | 16f998c8a79153ed9f6721c36e129b6080fa59d2 (diff) | |
download | hercules-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/jobs/3-2/sorcerer.txt')
-rw-r--r-- | npc/re/jobs/3-2/sorcerer.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/re/jobs/3-2/sorcerer.txt b/npc/re/jobs/3-2/sorcerer.txt index ff9faf500..a75480f24 100644 --- a/npc/re/jobs/3-2/sorcerer.txt +++ b/npc/re/jobs/3-2/sorcerer.txt @@ -392,10 +392,10 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{ } - script Spirit Detecting Staff#0 FAKE_NPC,{ - if (strnpcinfo(4) == "thor_v01") setarray .@id[0],990,994,6276,6278; - else if (strnpcinfo(4) == "ice_dun01") setarray .@id[0],991,995,6278,6276; - else if (strnpcinfo(4) == "mjo_dun03") setarray .@id[0],993,997,6277,6276; - else if (strnpcinfo(4) == "gon_dun02") setarray .@id[0],992,996,6277,6278; + if (strnpcinfo(NPC_MAP) == "thor_v01") setarray .@id[0],990,994,6276,6278; + else if (strnpcinfo(NPC_MAP) == "ice_dun01") setarray .@id[0],991,995,6278,6276; + else if (strnpcinfo(NPC_MAP) == "mjo_dun03") setarray .@id[0],993,997,6277,6276; + else if (strnpcinfo(NPC_MAP) == "gon_dun02") setarray .@id[0],992,996,6277,6278; if (job_soc == 4 && countitem(.@id[0]) > 2) { progressbar "ffff00",5; |