summaryrefslogtreecommitdiff
path: root/npc/events/halloween_2006.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_2006.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_2006.txt')
-rw-r--r--npc/events/halloween_2006.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/events/halloween_2006.txt b/npc/events/halloween_2006.txt
index 8b34ab824..8c7b4dcbf 100644
--- a/npc/events/halloween_2006.txt
+++ b/npc/events/halloween_2006.txt
@@ -672,10 +672,10 @@ nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{
specialeffect EF_TELEPORTATION;
mes "The magic spell has been casted.";
halloween = 103;
- disablenpc "Masta's chicken#"+strnpcinfo(1);
+ disablenpc "Masta's chicken#"+strnpcinfo(NPC_NAME_VISIBLE);
close2;
sleep 180000;
- enablenpc "Masta's chicken#"+strnpcinfo(1);
+ enablenpc "Masta's chicken#"+strnpcinfo(NPC_NAME_VISIBLE);
end;
}
else {
@@ -695,13 +695,13 @@ nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{
if( @egg_temp == 3) {
mes "As soon as you got close to the chicken and touched it, it disappeared completely.";
mes "You got an 'egg' in the place where the chicken disappeared.";
- disablenpc "Chicken#"+strnpcinfo(1);
+ disablenpc "Chicken#"+strnpcinfo(NPC_NAME_VISIBLE);
getitem Egg,1;
close;
}
else {
mes "As soon as you got close to the chicken and touched it, it disappeared completely.";
- disablenpc "Chicken#"+strnpcinfo(1);
+ disablenpc "Chicken#"+strnpcinfo(NPC_NAME_VISIBLE);
close;
}
}
@@ -711,13 +711,13 @@ nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{
if( @egg_temp == 3) {
mes "As soon as you got close to the chicken and touched it, it disappeared completely.";
mes "You got an 'egg' in the place where the chicken disappeared.";
- disablenpc "Chicken#"+strnpcinfo(1);
+ disablenpc "Chicken#"+strnpcinfo(NPC_NAME_VISIBLE);
getitem Egg,1;
close;
}
else {
mes "As soon as you got close to the chicken and touched it, it disappeared completely.";
- disablenpc "Chicken#"+strnpcinfo(1);
+ disablenpc "Chicken#"+strnpcinfo(NPC_NAME_VISIBLE);
close;
}