From b0b071305f967ae836722e7518455ee06089de01 Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 27 May 2017 17:00:28 -0400 Subject: convert specialeffect calls with strings to use GID --- npc/quests/newgears/2004_headgears.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'npc/quests/newgears/2004_headgears.txt') 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; } -- cgit v1.2.3-70-g09d2