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/quests/quests_dewata.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/quests/quests_dewata.txt')
-rw-r--r-- | npc/re/quests/quests_dewata.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/re/quests/quests_dewata.txt b/npc/re/quests/quests_dewata.txt index a78427f12..19b4a197d 100644 --- a/npc/re/quests/quests_dewata.txt +++ b/npc/re/quests/quests_dewata.txt @@ -1596,7 +1596,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ mes "something smashes down on your head, right where that soft spot is, $#*@! that's a one in a million shot."; percentheal -30,0; close2; - donpcevent strnpcinfo(0)+"::OnDisable"; + donpcevent strnpcinfo(NPC_NAME)+"::OnDisable"; warp "dew_fild01",371,211; end; } @@ -1619,14 +1619,14 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ break; } close2; - donpcevent strnpcinfo(0)+"::OnDisable"; + donpcevent strnpcinfo(NPC_NAME)+"::OnDisable"; end; OnEnable: - enablenpc strnpcinfo(0); + enablenpc strnpcinfo(NPC_NAME); stopnpctimer; end; OnDisable: - disablenpc strnpcinfo(0); + disablenpc strnpcinfo(NPC_NAME); initnpctimer; end; OnTimer60000: @@ -1634,10 +1634,10 @@ OnTimer180000: OnTimer120000: OnTimer240000: if(rand(2)) - donpcevent strnpcinfo(0)+"::OnEnable"; + donpcevent strnpcinfo(NPC_NAME)+"::OnEnable"; end; OnTimer300000: - donpcevent strnpcinfo(0)+"::OnEnable"; + donpcevent strnpcinfo(NPC_NAME)+"::OnEnable"; end; } dew_fild01,247,62,0 duplicate(DewataPalm) Palm Tree#drink01 CLEAR_NPC |