summaryrefslogtreecommitdiff
path: root/npc/events/halloween_2009.txt
diff options
context:
space:
mode:
authorhemagx <ibrahem.h.basyone@gmail.com>2016-08-29 01:04:03 +0200
committerhemagx <ibrahem.h.basyone@gmail.com>2016-08-29 01:04:03 +0200
commitb2977e4f71128fa8764ce65ebe942b6806cffa1e (patch)
tree4f2a9b1f9a3ee6436a0b857d05caa2be7e99a877 /npc/events/halloween_2009.txt
parent16f998c8a79153ed9f6721c36e129b6080fa59d2 (diff)
parent86977d79269408a371384e61111c3a9cf6e87b0c (diff)
downloadhercules-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/events/halloween_2009.txt')
-rw-r--r--npc/events/halloween_2009.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/events/halloween_2009.txt b/npc/events/halloween_2009.txt
index b1c00048e..ac2b0d39d 100644
--- a/npc/events/halloween_2009.txt
+++ b/npc/events/halloween_2009.txt
@@ -116,7 +116,7 @@ prontera,152,192,5 script Pumpkin Hat Researcher 4_M_05,{
//== Buffs - Trick or Treaters =============================
- script Trick or Treater::09Treats 4_M_KID1,2,2,{
OnTouch:
- hideoffnpc strnpcinfo(3);
+ hideoffnpc strnpcinfo(NPC_NAME_UNIQUE);
initnpctimer;
mes "[Trick or Treater]";
mes "Hooray! hooray! Hooray!";
@@ -215,17 +215,17 @@ OnInit:
end;
OnEnableTreat:
- enablenpc strnpcinfo(3);
- hideonnpc strnpcinfo(3);
+ enablenpc strnpcinfo(NPC_NAME_UNIQUE);
+ hideonnpc strnpcinfo(NPC_NAME_UNIQUE);
end;
OnTimer15000:
- hideonnpc strnpcinfo(3);
- disablenpc strnpcinfo(3);
+ hideonnpc strnpcinfo(NPC_NAME_UNIQUE);
+ disablenpc strnpcinfo(NPC_NAME_UNIQUE);
end;
OnTimer300000:
- donpcevent strnpcinfo(3)+"::OnEnableTreat";
+ donpcevent strnpcinfo(NPC_NAME_UNIQUE)+"::OnEnableTreat";
stopnpctimer;
end;
}