diff options
author | Emistry Haoyan <Equinox1991@gmail.com> | 2016-08-31 02:49:04 +0800 |
---|---|---|
committer | Emistry Haoyan <Equinox1991@gmail.com> | 2016-08-31 02:49:04 +0800 |
commit | 99a36a426b7d2adb6a0f417e02e92366939e5d22 (patch) | |
tree | 74a0fef908f373c3c6674821a150e866a2afb4c3 /npc/re/jobs/3-1/guillotine_cross.txt | |
parent | ac6fd81810e6afb1ef60e7f2c7f8fc6e03408724 (diff) | |
parent | 0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff) | |
download | hercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.tar.gz hercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.tar.bz2 hercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.tar.xz hercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules into scriptcommand_makeitem2
Diffstat (limited to 'npc/re/jobs/3-1/guillotine_cross.txt')
-rw-r--r-- | npc/re/jobs/3-1/guillotine_cross.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/npc/re/jobs/3-1/guillotine_cross.txt b/npc/re/jobs/3-1/guillotine_cross.txt index a29961eca..3f34e03f7 100644 --- a/npc/re/jobs/3-1/guillotine_cross.txt +++ b/npc/re/jobs/3-1/guillotine_cross.txt @@ -3062,10 +3062,10 @@ OnTimer5000: end; OnInit: OnDisable: - disablenpc strnpcinfo(0); + disablenpc strnpcinfo(NPC_NAME); end; OnEnable: - enablenpc strnpcinfo(0); + enablenpc strnpcinfo(NPC_NAME); end; } @@ -3386,17 +3386,17 @@ OnMyMobDead: job3_guil03,2,2,0 script #3rdgc_sunchal_kill01 CLEAR_NPC,{ end; OnEnable: - .@i = atoi(charat(strnpcinfo(0),20)); + .@i = atoi(charat(strnpcinfo(NPC_NAME),20)); setarray .@x[1],74,124,103; setarray .@y[1],63, 78, 24; - monster "job3_guil03",.@x[.@i],.@y[.@i],"Guard",1985,1,strnpcinfo(0)+"::OnMyMobDead"; + monster "job3_guil03",.@x[.@i],.@y[.@i],"Guard",1985,1,strnpcinfo(NPC_NAME)+"::OnMyMobDead"; end; OnStop: mapannounce "job3_guil03","Guard : Am I imagining things? I just heard something...",bc_map,"0xA8A8A8"; //FW_NORMAL 12 0 0 stopnpctimer; end; OnReset: - killmonster "job3_guil03",strnpcinfo(0)+"::OnMyMobDead"; + killmonster "job3_guil03",strnpcinfo(NPC_NAME)+"::OnMyMobDead"; end; OnMyMobDead: initnpctimer; @@ -3419,32 +3419,32 @@ job3_guil03,2,4,0 duplicate(#3rdgc_sunchal_kill01) #3rdgc_sunchal_kill03 CLEAR_N job3_guil03,64,68,3 script #3rdgc_gojung_kill01 4_M_DSTMAN,7,7,{ end; OnEnable: - enablenpc strnpcinfo(0); + enablenpc strnpcinfo(NPC_NAME); end; OnDisable: - disablenpc strnpcinfo(0); + disablenpc strnpcinfo(NPC_NAME); end; OnStop: mapannounce "job3_guil03","Guard : Am I imagining things? I just heard something.",bc_map,"0xA8A8A8"; //FW_NORMAL 12 0 0 stopnpctimer; end; OnReset: - killmonster "job3_guil03",strnpcinfo(0)+"::OnMyMobDead"; + killmonster "job3_guil03",strnpcinfo(NPC_NAME)+"::OnMyMobDead"; end; OnTouch: - .@i = atoi(charat(strnpcinfo(0),19)); + .@i = atoi(charat(strnpcinfo(NPC_NAME),19)); setarray .@x[1],64,86,83; setarray .@y[1],68,63,36; mapannounce "job3_guil03","Guard : Who are you?!",bc_map,"0x7b68ee"; //FW_NORMAL 12 0 0 - disablenpc strnpcinfo(0); - monster "job3_guil03",.@x[.@i],.@y[.@i],"Guard",1985,1,strnpcinfo(0)+"::OnMyMobDead"; + disablenpc strnpcinfo(NPC_NAME); + monster "job3_guil03",.@x[.@i],.@y[.@i],"Guard",1985,1,strnpcinfo(NPC_NAME)+"::OnMyMobDead"; initnpctimer; end; OnMyMobDead: stopnpctimer; end; OnTimer5000: - if (strnpcinfo(0) == "#3rdgc_gojung_kill03") end; + if (strnpcinfo(NPC_NAME) == "#3rdgc_gojung_kill03") end; OnTimer10000: mapannounce "job3_guil03","Guard : I need support! Take caution!",bc_map,"0x7b68ee"; //FW_NORMAL 12 0 0 donpcevent "#3rdgc_guard::OnEnable"; @@ -3458,7 +3458,7 @@ job3_guil03,88,71,0 script #3rdgc_safezone01 HIDDEN_WARP_NPC,1,1,{ end; OnTouch: mes "It's a good bush to hide yourself."; - donpcevent strnpcinfo(0)+"::OnTimer"; + donpcevent strnpcinfo(NPC_NAME)+"::OnTimer"; close; OnTimer: //FIXME: This is a workaround for... @@ -3491,7 +3491,7 @@ job3_guil03,111,51,7 script Priest from Rachel 4_M_MIDDLE1,{ next; mes "[Priest from Rachel]"; mes "Because of you, you ruined everything!"; - setnpcdisplay(strnpcinfo(0), HIDEN_PRIEST); + setnpcdisplay(strnpcinfo(NPC_NAME), HIDEN_PRIEST); next; mes "[Priest from Rachel]"; mes "You want to destroy us forever!"; |