summaryrefslogtreecommitdiff
path: root/npc/quests/newgears/2004_headgears.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests/newgears/2004_headgears.txt')
-rw-r--r--npc/quests/newgears/2004_headgears.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/quests/newgears/2004_headgears.txt b/npc/quests/newgears/2004_headgears.txt
index 722509fbc..eb07fb029 100644
--- a/npc/quests/newgears/2004_headgears.txt
+++ b/npc/quests/newgears/2004_headgears.txt
@@ -1927,10 +1927,10 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 4_M_ALCHE_A,{
enablenpc " #Alarm Mask Man2";
enablenpc " #Alarm Mask Man3";
enablenpc " #Alarm Mask Man4";
- specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man1";
- specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man2";
- specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man3";
- specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man4";
+ specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man1"));
+ specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man2"));
+ specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man3"));
+ specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man4"));
initnpctimer;
if (countitem(Needle_Of_Alarm) > 2999 && countitem(Mr_Scream) > 0) {
if (select("Give him items", "Cancel") == 1) {
@@ -2042,10 +2042,10 @@ OnTimer4000:
disablenpc " #Alarm Mask Man2";
disablenpc " #Alarm Mask Man3";
disablenpc " #Alarm Mask Man4";
- specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man1";
- specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man2";
- specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man3";
- specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man4";
+ specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man1"));
+ specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man2"));
+ specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man3"));
+ specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man4"));
stopnpctimer;
end;
}