diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-05-27 17:00:28 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-06-03 12:57:33 -0400 |
commit | b0b071305f967ae836722e7518455ee06089de01 (patch) | |
tree | 4f8da981a8fff79abb1d61be1bae6c46cb33add9 /npc/quests | |
parent | 7a538d27ee8f9194a9fc4988197d90b51e23f32b (diff) | |
download | hercules-b0b071305f967ae836722e7518455ee06089de01.tar.gz hercules-b0b071305f967ae836722e7518455ee06089de01.tar.bz2 hercules-b0b071305f967ae836722e7518455ee06089de01.tar.xz hercules-b0b071305f967ae836722e7518455ee06089de01.zip |
convert specialeffect calls with strings to use GID
Diffstat (limited to 'npc/quests')
-rw-r--r-- | npc/quests/kiel_hyre_quest.txt | 12 | ||||
-rw-r--r-- | npc/quests/newgears/2004_headgears.txt | 16 | ||||
-rw-r--r-- | npc/quests/quests_13_1.txt | 50 | ||||
-rw-r--r-- | npc/quests/quests_airship.txt | 134 | ||||
-rw-r--r-- | npc/quests/quests_hugel.txt | 4 | ||||
-rw-r--r-- | npc/quests/quests_louyang.txt | 2 | ||||
-rw-r--r-- | npc/quests/quests_moscovia.txt | 14 | ||||
-rw-r--r-- | npc/quests/quests_rachel.txt | 8 | ||||
-rw-r--r-- | npc/quests/seals/brisingamen_seal.txt | 4 | ||||
-rw-r--r-- | npc/quests/thana_quest.txt | 14 |
10 files changed, 129 insertions, 129 deletions
diff --git a/npc/quests/kiel_hyre_quest.txt b/npc/quests/kiel_hyre_quest.txt index 3a21bbfa0..4fe113d57 100644 --- a/npc/quests/kiel_hyre_quest.txt +++ b/npc/quests/kiel_hyre_quest.txt @@ -1967,7 +1967,7 @@ kh_vila,184,20,0 script Book#kh1::BookKHQ1 HIDDEN_NPC,{ mes "wall slides opens open"; mes "to reveal a secret path.^000000"; KielHyreQuest = 28; - specialeffect EF_READYPORTAL2,AREA,"Wall#kh"; + specialeffect(EF_READYPORTAL2, AREA, getnpcid(0, "Wall#kh")); close; } else { @@ -6393,11 +6393,11 @@ kh_kiehl02,50,52,4 script Kiehl#Original 4_M_KHKIEL,{ next; mes "[Mitchell]"; mes "Nooooo!"; - specialeffect PF_FOGWALL,AREA,"Mitchell#KiehlRoom"; - specialeffect PF_FOGWALL,AREA,"Agent#KHAgent1"; - specialeffect PF_FOGWALL,AREA,"Agent#KHAgent2"; - specialeffect PF_FOGWALL,AREA,"Agent#KHAgent3"; - specialeffect PF_FOGWALL,AREA,"Agent#KHAgent4"; + specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Mitchell#KiehlRoom")); + specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent1")); + specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent2")); + specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent3")); + specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent4")); next; cutin "kh_kiel03",2; mes "[Kiehl]"; 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; } diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt index 8a355ce79..17cacaff6 100644 --- a/npc/quests/quests_13_1.txt +++ b/npc/quests/quests_13_1.txt @@ -9844,7 +9844,7 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{ next; mes "[Expedition Messenger]"; mes "What's up? Why haven't you left...?"; - specialeffect EF_SOULBREAKER,AREA,"Expedition Messenger"; + specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger")); next; mes "[Expedition Messenger]"; mes "Argh... Why are you doing this?!"; @@ -9871,8 +9871,8 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{ mes "[???]"; mes "Argh..."; next; - specialeffect EF_SOULBREAKER,AREA,"Expedition Messenger#3"; - specialeffect EF_SOULBREAKER,AREA,"Expedition Messenger#3"; + specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger#3")); + specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger#3")); mes "[???]"; mes "Argh... You..."; next; @@ -9924,8 +9924,8 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{ mes "[???]"; mes "Argh!"; next; - specialeffect EF_SOULBREAKER,AREA,"Expedition Messenger#3"; - specialeffect EF_SOULBREAKER,AREA,"Expedition Messenger#3"; + specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger#3")); + specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger#3")); mes "[???]"; mes "Argh... You..."; next; @@ -11548,7 +11548,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{ specialeffect EF_BEGINSPELL2; next; mes "- The fire sparked, but then it immediatly blew out. -"; - specialeffect EF_FIREARROW,AREA,"Wet Firewood#moc2"; + specialeffect(EF_FIREARROW, AREA, getnpcid(0, "Wet Firewood#moc2")); next; mes "[Defaria]"; mes "..............."; @@ -11567,7 +11567,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{ specialeffect EF_BEGINSPELL2; next; mes "- The fire sparked, but then it immediately blew out.-"; - specialeffect EF_FIREARROW,AREA,"Wet Firewood#moc2"; + specialeffect(EF_FIREARROW, AREA, getnpcid(0, "Wet Firewood#moc2")); next; mes "[Defaria]"; mes "..............."; @@ -11804,8 +11804,8 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{ mes "Hopefully I can make a fire with your nice logs...."; specialeffect EF_BEGINSPELL2; next; - specialeffect EF_FIREWALL,AREA,"Wet Firewood#moc2"; - specialeffect EF_TORCH,AREA,"Wet Firewood#moc2"; + specialeffect(EF_FIREWALL, AREA, getnpcid(0, "Wet Firewood#moc2")); + specialeffect(EF_TORCH, AREA, getnpcid(0, "Wet Firewood#moc2")); mes "[Defaria]"; mes "Oh, this is as great as I'd hoped!"; mes "I guess my magic hasn't gotten that rusty after all.."; @@ -13096,17 +13096,17 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{ cutin "moc2_dan02",255; switch(select("Smack his head.", "Punch his stomach.", "Slap his face.")) { case 1: - specialeffect EF_HIT2,AREA,"Rayan#moc_room2_2"; + specialeffect(EF_HIT2, AREA, getnpcid(0, "Rayan#moc_room2_2")); mes "- Wanting to stop Rayan from going berserk, you smacked the back of his head with the journal. Rayan staggered and then fell to the ground. Nice job! -"; next; break; case 2: - specialeffect EF_HIT4,AREA,"Rayan#moc_room2_2"; + specialeffect(EF_HIT4, AREA, getnpcid(0, "Rayan#moc_room2_2")); mes "- Wanting to stop Rayan from going berserk, you sucker punched him in the 'ole bread basket. Rayan staggered and then fell to the ground...! -"; next; break; case 3: - specialeffect EF_HIT1,AREA,"Rayan#moc_room2_2"; + specialeffect(EF_HIT1, AREA, getnpcid(0, "Rayan#moc_room2_2")); mes "- Wanting to stop Rayan from going berserk, you slapped his face with the journal. Rayan staggered and then fell onto the ground. Wah! -"; next; break; @@ -13117,7 +13117,7 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{ mes "[Rayan]"; mes "Ahh...."; mes "....? Isn't.. Isn't this?!...."; - specialeffect EF_POISON,AREA,"Rayan#moc_room2_2"; + specialeffect(EF_POISON, AREA, getnpcid(0, "Rayan#moc_room2_2")); next; mes "[Rin]"; mes "Wah! What's going on?"; @@ -13159,7 +13159,7 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{ mes "You're Rin, right?"; mes "This is the last time you'll ever see me."; mes "Haha... Muhahahahaha!!"; - specialeffect EF_ENTRY,AREA,"Rayan#moc_room2_2"; + specialeffect(EF_ENTRY, AREA, getnpcid(0, "Rayan#moc_room2_2")); donpcevent "Rayan#moc_room2_2::OnDisable"; next; cutin "moc2_rin03",2; @@ -13533,8 +13533,8 @@ OnTouch: mes "Why? Why is Rin here? Wait, where am I?"; mes "Argh.. I can't move at all..."; next; - specialeffect EF_BEGINSPELL2,AREA,"Dandelion Member#moc2_1"; - specialeffect EF_BEGINSPELL2,AREA,"Dandelion Member#moc2_2"; + specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_1")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_2")); emotion e_gasp,"Rin#moc2_bt_rin01"; emotion e_gasp,1; mes "[Rin]"; @@ -13543,8 +13543,8 @@ OnTouch: next; donpcevent "Rin#moc2_bt_rin01::OnDisable"; donpcevent "Rin#moc2_bt_rin02::OnEnable"; - specialeffect EF_ICECRASH,AREA,"Rin#moc2_bt_rin01"; - specialeffect EF_METEORSTORM,AREA,"Rin#moc2_bt_rin01"; + specialeffect(EF_ICECRASH, AREA, getnpcid(0, "Rin#moc2_bt_rin01")); + specialeffect(EF_METEORSTORM, AREA, getnpcid(0, "Rin#moc2_bt_rin01")); mes "[Rayan]"; mes "Hah, how impressive! You run like a rabbit!"; mes "I should have you killed you when I had the chance."; @@ -13561,16 +13561,16 @@ OnTouch: donpcevent "Dandelion Member#moc2_4::OnEnable"; donpcevent "Dandelion Member#moc2_5::OnEnable"; next; - specialeffect EF_FREEZED,AREA,"Rin#moc2_bt_rin02"; + specialeffect(EF_FREEZED, AREA, getnpcid(0, "Rin#moc2_bt_rin02")); emotion e_gasp; mapannounce "que_dan01", "Rin: When.. When did you...!?!",bc_map,"0x7b68ee"; mes "[Rayan]"; mes "I'm sorry that I have to do this."; mes "..."; mes "Kill her."; - specialeffect EF_BEGINSPELL2,AREA,"Dandelion Member#moc2_3"; - specialeffect EF_BEGINSPELL2,AREA,"Dandelion Member#moc2_4"; - specialeffect EF_BEGINSPELL2,AREA,"Dandelion Member#moc2_5"; + specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_3")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_4")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_5")); next; mapannounce "que_dan01", "Rayan: Follow me as soon as you take care of her. Our next meeting place is the usual place. I'm leaving.",bc_map,"0xA8A8A8"; donpcevent "Rayan#moc2_bt_r01::OnDisable"; @@ -13578,9 +13578,9 @@ OnTouch: donpcevent "Dandelion Member#moc2_2::OnDisable"; mes "[" + strcharinfo(PC_NAME) + "]"; mes "Rin-!!!"; - specialeffect EF_LIGHTBOLT,AREA,"Rin#moc2_bt_rin02"; - specialeffect EF_FIREPILLARBOMB,AREA,"Rin#moc2_bt_rin02"; - specialeffect EF_METEORSTORM,AREA,"Rin#moc2_bt_rin02"; + specialeffect(EF_LIGHTBOLT, AREA, getnpcid(0, "Rin#moc2_bt_rin02")); + specialeffect(EF_FIREPILLARBOMB, AREA, getnpcid(0, "Rin#moc2_bt_rin02")); + specialeffect(EF_METEORSTORM, AREA, getnpcid(0, "Rin#moc2_bt_rin02")); donpcevent "Rin#moc2_bt_rin02::OnDisable"; next; mes "You feel helpless: you can do nothing but watch her slowly get overpowered.."; diff --git a/npc/quests/quests_airship.txt b/npc/quests/quests_airship.txt index 3772d7164..0f9616a35 100644 --- a/npc/quests/quests_airship.txt +++ b/npc/quests/quests_airship.txt @@ -784,16 +784,16 @@ ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{ ein_in01,127,94,3 script #exp_ein HIDDEN_NPC,{ end; } function script F_Cherno { - specialeffect EF_COMBOATTACK1,AREA,"#exp_ein"; + specialeffect(EF_COMBOATTACK1, AREA, getnpcid(0, "#exp_ein")); mes "^33355F*Bang*^000000"; next; - specialeffect EF_COMBOATTACK2,AREA,"#exp_ein"; + specialeffect(EF_COMBOATTACK2, AREA, getnpcid(0, "#exp_ein")); mes "^33355F*Bang*^000000"; next; - specialeffect EF_COMBOATTACK3,AREA,"#exp_ein"; + specialeffect(EF_COMBOATTACK3, AREA, getnpcid(0, "#exp_ein")); mes "^33355F*Bang*^000000"; next; - specialeffect EF_POISONATTACK,AREA,"#exp_ein"; + specialeffect(EF_POISONATTACK, AREA, getnpcid(0, "#exp_ein")); mes "^33355F*Crash!*^000000"; mes "....."; emotion e_swt,0,"Theo Cherno"; @@ -1294,65 +1294,65 @@ OnTimer68000: end; OnTimer73000: mapannounce "airplane_01", "*Kzzz...Drrrr...Boom! CRASH!*",bc_map,0x00FF00; - specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); end; OnTimer73500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); end; OnTimer74000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); end; OnTimer74500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); end; OnTimer75000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom10#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane")); end; OnTimer75500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); end; OnTimer76000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); end; OnTimer76500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); end; OnTimer77000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); end; OnTimer77500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom10#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane")); end; OnTimer78000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); mapannounce "airplane_01", "Engineer: Oh no! We've got a problem with the Number One Rear Engine!",bc_map,0x00FF00; end; OnTimer79000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); end; OnTimer80000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); end; OnTimer81000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); end; OnTimer82000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom10#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane")); end; OnTimer83000: mapannounce "airplane_01", "Pilot: Hurry! Get the women, old people and children somewhere safe first! Hurry!",bc_map,0x00FF00; end; OnTimer84000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); end; OnTimer85000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); end; OnTimer86000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); end; OnTimer87000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); end; OnTimer88000: emotion e_ag,0,"Airship Captain#02"; @@ -1368,46 +1368,46 @@ OnTimer98000: end; OnTimer103000: mapannounce "airplane_01", "*Bang! Bang Bang! Bang Bang! Bang Bang Bang!*",bc_map,0x00FF00; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer103500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom1#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom1#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer104000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom2#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom2#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer104500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom3#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom3#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer105000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom4#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom4#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer105500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom5#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom5#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer106000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom0#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom0#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer106500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom1#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom1#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer107000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom2#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom2#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer107500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom4#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom4#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer108000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom5#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom5#airplane")); killmonster "airplane_01","Airship#airplane02::OnCaptainMobDead"; end; OnTimer113000: @@ -1416,59 +1416,59 @@ OnTimer113000: end; OnTimer118000: mapannounce "airplane_01", "*Bang! Bang Bang! Bang Bang! Bang Bang Bang!*",bc_map,0x00FF00; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer118500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer119000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer119500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer120000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer120500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom10#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer121000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer121500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer122000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer122500: - specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane"; - specialeffect EF_HIT5,AREA,"Airship Captain#02"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); end; OnTimer123000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); mapannounce "airplane_01", "*Boom! Boom Boom! Boom Boom! Boom!*",bc_map,0x00FF00; end; OnTimer124000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); end; OnTimer125000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom10#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane")); end; OnTimer126000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); end; OnTimer127000: - specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane"; + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); end; OnTimer128000: emotion e_an,0,"Airship Captain#02"; diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt index c96f50e27..3479261f5 100644 --- a/npc/quests/quests_hugel.txt +++ b/npc/quests/quests_hugel.txt @@ -297,7 +297,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{ mes "medicine you're"; mes "supposed to"; mes "need so badly."; - specialeffect EF_CHANGECOLD,AREA,"Postell Schuwell#D"; + specialeffect(EF_CHANGECOLD, AREA, getnpcid(0, "Postell Schuwell#D")); next; mes "[Allen]"; mes "Thank goodness..."; @@ -9384,7 +9384,7 @@ OnTouch: mes "followed. Hold on a sec"; mes "while I take care of him."; next; - specialeffect EF_SONICBLOWHIT,AREA,"Hit"; + specialeffect(EF_SONICBLOWHIT, AREA, getnpcid(0, "Hit")); mes "[???]"; mes "Ha!"; next; diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt index e05cd3313..61888cab4 100644 --- a/npc/quests/quests_louyang.txt +++ b/npc/quests/quests_louyang.txt @@ -4122,7 +4122,7 @@ lou_fild01,224,348,0 script Lady#delivery 4_F_CHNDRESS3,{ Zeny -= 100; } close2; - specialeffect EF_BLASTMINEBOMB,AREA," #fire"; + specialeffect(EF_BLASTMINEBOMB, AREA, getnpcid(0, " #fire")); end; } mes "[Lady]"; diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt index 4b8272ed1..8632e160c 100644 --- a/npc/quests/quests_moscovia.txt +++ b/npc/quests/quests_moscovia.txt @@ -7096,15 +7096,15 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{ mes "- The wind disappears and -"; mes "- a very young girl appears -"; donpcevent "Maria Morebna#rus46::OnEnable"; - specialeffect EF_FREEZED,AREA,"Maria Morebna#rus46"; + specialeffect(EF_FREEZED, AREA, getnpcid(0, "Maria Morebna#rus46")); next; mes "[Maria Morebna]"; mes "Thank you!"; mes "I'm finally out of there! Now I can.....................aaaaak!!!...."; next; - specialeffect EF_HIT2,AREA,"Maria Morebna#rus46"; - specialeffect EF_DARKBREATH,AREA,"Maria Morebna#rus46"; - specialeffect EF_DEVIL,AREA,"Maria Morebna#rus46"; + specialeffect(EF_HIT2, AREA, getnpcid(0, "Maria Morebna#rus46")); + specialeffect(EF_DARKBREATH, AREA, getnpcid(0, "Maria Morebna#rus46")); + specialeffect(EF_DEVIL, AREA, getnpcid(0, "Maria Morebna#rus46")); mes "- Maria is attacked -"; mes "- and falls down!! -"; next; @@ -7133,7 +7133,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{ mes "Gray Wolf..."; mes "You think you can fight me?!"; next; - specialeffect EF_FIREHIT,AREA,"Gray Wolf#rus05"; + specialeffect(EF_FIREHIT, AREA, getnpcid(0, "Gray Wolf#rus05")); mes "- Staggering from -"; mes "- Koshei's flames, -"; mes "- Gray Wolf quickly tell me -"; @@ -7261,7 +7261,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{ mes "- The wounds and -"; mes "- curses on her body -"; mes "- are removed !! -"; - specialeffect EF_ABSORBSPIRITS,AREA,"Maria Morebna#rus46"; + specialeffect(EF_ABSORBSPIRITS, AREA, getnpcid(0, "Maria Morebna#rus46")); next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Ok! Next..."; @@ -7291,7 +7291,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{ next; } mes "- !! -"; - specialeffect EF_RESURRECTION,AREA,"Maria Morebna#rus46"; + specialeffect(EF_RESURRECTION, AREA, getnpcid(0, "Maria Morebna#rus46")); next; mes "[Gray Wolf]"; mes "Success!!"; diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt index 5e433af1a..d3d392817 100644 --- a/npc/quests/quests_rachel.txt +++ b/npc/quests/quests_rachel.txt @@ -3722,10 +3722,10 @@ OnStart: enablenpc "#ice_4f_2"; enablenpc "#ice_4f_3"; enablenpc "#ice_4f_4"; - specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_1"; - specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_2"; - specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_3"; - specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_4"; + specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#ice_4f_1")); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#ice_4f_2")); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#ice_4f_3")); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#ice_4f_4")); end; OnTimer60000: diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt index 5bbc4d3d0..815459c41 100644 --- a/npc/quests/seals/brisingamen_seal.txt +++ b/npc/quests/seals/brisingamen_seal.txt @@ -3226,7 +3226,7 @@ OnTouch: mes "Go, Lowen!"; mes "Cast Grand Cross, now!^000000"; next; - specialeffect EF_BEGINSPELL7,AREA,"#lowen"; + specialeffect(EF_BEGINSPELL7, AREA, getnpcid(0, "#lowen")); mapannounce "que_god02","Mwahaha! Mortals are such fools...",0,0xA8A8A8; donpcevent "#brisinsummon::OnDoppel1Off"; donpcevent "#brisinsummon::OnDoppel2On"; @@ -3237,7 +3237,7 @@ OnTouch: mes "[" + strcharinfo(PC_NAME) + "]"; mes " ??!!!"; next; - specialeffect EF_BEGINSPELL7,AREA,"#doppelganger2"; + specialeffect(EF_BEGINSPELL7, AREA, getnpcid(0, "#doppelganger2")); mes "[Male Voice]"; mes "Lowen!"; mes "Noooooooooo!!!"; diff --git a/npc/quests/thana_quest.txt b/npc/quests/thana_quest.txt index 81acffa8b..4363a6a27 100644 --- a/npc/quests/thana_quest.txt +++ b/npc/quests/thana_quest.txt @@ -2088,11 +2088,11 @@ OnTimer1000: OnTimer5000: .@pillar = 1; OnTimer3000: - specialeffect EF_BEGINSPELL7,AREA,"#tteffect05"; - specialeffect EF_BEGINSPELL3,AREA,"#tteffect04"; - specialeffect EF_BEGINSPELL2,AREA,"#tteffect03"; - specialeffect EF_BEGINSPELL4,AREA,"#tteffect02"; - specialeffect EF_BEGINSPELL5,AREA,"#tteffect01"; + specialeffect(EF_BEGINSPELL7, AREA, getnpcid(0, "#tteffect05")); + specialeffect(EF_BEGINSPELL3, AREA, getnpcid(0, "#tteffect04")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "#tteffect03")); + specialeffect(EF_BEGINSPELL4, AREA, getnpcid(0, "#tteffect02")); + specialeffect(EF_BEGINSPELL5, AREA, getnpcid(0, "#tteffect01")); if (.@pillar) specialeffect EF_MAPPILLAR2; end; } @@ -2235,8 +2235,8 @@ OnDisable: thana_boss,141,218,0 script #sommon_thanatos FAKE_NPC,{ OnEnable: - specialeffect EF_MAPPILLAR2,AREA,"#sommon_thanatos"; - specialeffect EF_SEISMICWEAPON,AREA,"#sommon_thanatos"; + specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#sommon_thanatos")); + specialeffect(EF_SEISMICWEAPON, AREA, getnpcid(0, "#sommon_thanatos")); monster "thana_boss",141,218,"Thanatos Phantom",1708,1,"#sommon_thanatos::OnMyMobDead"; end; OnMyMobDead: |