summaryrefslogtreecommitdiff
path: root/npc/quests/quests_airship.txt
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-05-27 17:00:28 -0400
committergumi <mekolat@users.noreply.github.com>2017-06-03 12:57:33 -0400
commitb0b071305f967ae836722e7518455ee06089de01 (patch)
tree4f8da981a8fff79abb1d61be1bae6c46cb33add9 /npc/quests/quests_airship.txt
parent7a538d27ee8f9194a9fc4988197d90b51e23f32b (diff)
downloadhercules-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/quests_airship.txt')
-rw-r--r--npc/quests/quests_airship.txt134
1 files changed, 67 insertions, 67 deletions
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";