diff options
author | hemagx <ibrahem.h.basyone@gmail.com> | 2016-08-29 01:04:03 +0200 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-08-29 01:04:03 +0200 |
commit | b2977e4f71128fa8764ce65ebe942b6806cffa1e (patch) | |
tree | 4f2a9b1f9a3ee6436a0b857d05caa2be7e99a877 /npc/re/instances/HazyForest.txt | |
parent | 16f998c8a79153ed9f6721c36e129b6080fa59d2 (diff) | |
parent | 86977d79269408a371384e61111c3a9cf6e87b0c (diff) | |
download | hercules-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/re/instances/HazyForest.txt')
-rw-r--r-- | npc/re/instances/HazyForest.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/instances/HazyForest.txt b/npc/re/instances/HazyForest.txt index 6de94e7ac..c5e37ee3b 100644 --- a/npc/re/instances/HazyForest.txt +++ b/npc/re/instances/HazyForest.txt @@ -212,7 +212,7 @@ OnTimer180000: // callfunc "F_Mora_Mist",<warp to enable>,<success message>,<fail message>{,<end flag>} function script F_Mora_Mist { .@map$ = instance_mapname("1@mist"); - if (mobcount(.@map$,instance_npcname(strnpcinfo(0))+"::OnMyMobDead") == 0) { + if (mobcount(.@map$,instance_npcname(strnpcinfo(NPC_NAME))+"::OnMyMobDead") == 0) { mes "Obviously no one is taking care of it."; mes "It seems like you can chop down the garden tree."; next; @@ -221,7 +221,7 @@ function script F_Mora_Mist { mes "You chop down the tree, which was blocking the path of the maze, "+((getarg(3,0))?"clearing the way out of the forest.":"so now you can continue."); mapannounce .@map$,getarg(1),bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 enablenpc instance_npcname(getarg(0)); - disablenpc instance_npcname(strnpcinfo(0)); + disablenpc instance_npcname(strnpcinfo(NPC_NAME)); close; } else mapannounce .@map$,((getarg(3,0))?getarg(2):getarg(2)+"'s Cry: Huh? Who's doing bad things to my tree?!"),bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 @@ -461,7 +461,7 @@ OnMyMobDead: 1@mist,73,290,0 script Mysterious Flower#1 CLEAR_NPC,{ specialeffect EF_LEVEL99_4; - disablenpc instance_npcname(strnpcinfo(0)); + disablenpc instance_npcname(strnpcinfo(NPC_NAME)); getitem Mysterious_Seed,1; end; } |