diff options
author | EyesOfAHawk <blackoutro2006@gmail.com> | 2018-10-18 03:23:18 +1300 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-11-13 17:13:38 +0100 |
commit | 7b45d05bd8e3f476f1d801203f2968993b52a31f (patch) | |
tree | b1f73f007939678c46cea7123b75ff74a3017653 /npc/quests | |
parent | baeb7a1742b0fd7ac5d3a4cecd90f74d461895fe (diff) | |
download | hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.tar.gz hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.tar.bz2 hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.tar.xz hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.zip |
Remove type argument from buildin_getnpcid.
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 b51207737..677a81f8d 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, getnpcid(0, "Wall#kh")); + specialeffect(EF_READYPORTAL2, AREA, getnpcid("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, 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")); + specialeffect(PF_FOGWALL, AREA, getnpcid("Mitchell#KiehlRoom")); + specialeffect(PF_FOGWALL, AREA, getnpcid("Agent#KHAgent1")); + specialeffect(PF_FOGWALL, AREA, getnpcid("Agent#KHAgent2")); + specialeffect(PF_FOGWALL, AREA, getnpcid("Agent#KHAgent3")); + specialeffect(PF_FOGWALL, AREA, getnpcid("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 eb07fb029..9e1728c65 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, 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")); + specialeffect(EF_CLAYMORE, AREA, getnpcid(" #Alarm Mask Man1")); + specialeffect(EF_CLAYMORE, AREA, getnpcid(" #Alarm Mask Man2")); + specialeffect(EF_CLAYMORE, AREA, getnpcid(" #Alarm Mask Man3")); + specialeffect(EF_CLAYMORE, AREA, getnpcid(" #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, 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")); + specialeffect(EF_CLAYMORE, AREA, getnpcid(" #Alarm Mask Man1")); + specialeffect(EF_CLAYMORE, AREA, getnpcid(" #Alarm Mask Man2")); + specialeffect(EF_CLAYMORE, AREA, getnpcid(" #Alarm Mask Man3")); + specialeffect(EF_CLAYMORE, AREA, getnpcid(" #Alarm Mask Man4")); stopnpctimer; end; } diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt index 17cacaff6..b1e4f90b3 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, getnpcid(0, "Expedition Messenger")); + specialeffect(EF_SOULBREAKER, AREA, getnpcid("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, getnpcid(0, "Expedition Messenger#3")); - specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger#3")); + specialeffect(EF_SOULBREAKER, AREA, getnpcid("Expedition Messenger#3")); + specialeffect(EF_SOULBREAKER, AREA, getnpcid("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, getnpcid(0, "Expedition Messenger#3")); - specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger#3")); + specialeffect(EF_SOULBREAKER, AREA, getnpcid("Expedition Messenger#3")); + specialeffect(EF_SOULBREAKER, AREA, getnpcid("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, getnpcid(0, "Wet Firewood#moc2")); + specialeffect(EF_FIREARROW, AREA, getnpcid("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, getnpcid(0, "Wet Firewood#moc2")); + specialeffect(EF_FIREARROW, AREA, getnpcid("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, getnpcid(0, "Wet Firewood#moc2")); - specialeffect(EF_TORCH, AREA, getnpcid(0, "Wet Firewood#moc2")); + specialeffect(EF_FIREWALL, AREA, getnpcid("Wet Firewood#moc2")); + specialeffect(EF_TORCH, AREA, getnpcid("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, getnpcid(0, "Rayan#moc_room2_2")); + specialeffect(EF_HIT2, AREA, getnpcid("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, getnpcid(0, "Rayan#moc_room2_2")); + specialeffect(EF_HIT4, AREA, getnpcid("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, getnpcid(0, "Rayan#moc_room2_2")); + specialeffect(EF_HIT1, AREA, getnpcid("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, getnpcid(0, "Rayan#moc_room2_2")); + specialeffect(EF_POISON, AREA, getnpcid("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, getnpcid(0, "Rayan#moc_room2_2")); + specialeffect(EF_ENTRY, AREA, getnpcid("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, getnpcid(0, "Dandelion Member#moc2_1")); - specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_2")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid("Dandelion Member#moc2_1")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid("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, getnpcid(0, "Rin#moc2_bt_rin01")); - specialeffect(EF_METEORSTORM, AREA, getnpcid(0, "Rin#moc2_bt_rin01")); + specialeffect(EF_ICECRASH, AREA, getnpcid("Rin#moc2_bt_rin01")); + specialeffect(EF_METEORSTORM, AREA, getnpcid("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, getnpcid(0, "Rin#moc2_bt_rin02")); + specialeffect(EF_FREEZED, AREA, getnpcid("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, 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")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid("Dandelion Member#moc2_3")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid("Dandelion Member#moc2_4")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid("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, 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")); + specialeffect(EF_LIGHTBOLT, AREA, getnpcid("Rin#moc2_bt_rin02")); + specialeffect(EF_FIREPILLARBOMB, AREA, getnpcid("Rin#moc2_bt_rin02")); + specialeffect(EF_METEORSTORM, AREA, getnpcid("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 9c096c83e..bc6d73fad 100644 --- a/npc/quests/quests_airship.txt +++ b/npc/quests/quests_airship.txt @@ -1038,23 +1038,23 @@ 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, getnpcid(0, "#exp_ein")); + specialeffect(EF_COMBOATTACK1, AREA, getnpcid("#exp_ein")); mes("^33355F*Bang*^000000"); next(); - specialeffect(EF_COMBOATTACK2, AREA, getnpcid(0, "#exp_ein")); + specialeffect(EF_COMBOATTACK2, AREA, getnpcid("#exp_ein")); mes("^3355FF*Bang*^000000"); if (getarg(0) == true) { mes("^3355FF*Beeeeeep*^000000"); } next(); - specialeffect(EF_COMBOATTACK3, AREA, getnpcid(0, "#exp_ein")); + specialeffect(EF_COMBOATTACK3, AREA, getnpcid("#exp_ein")); mes("^3355FF*Bang*^000000"); if (getarg(0) == true) { mes("^3355FF*Beeeeeep*^000000"); mes("^3355FF*Boop Boop Boop*^000000"); } next(); - specialeffect(EF_POISONATTACK, AREA, getnpcid(0, "#exp_ein")); + specialeffect(EF_POISONATTACK, AREA, getnpcid("#exp_ein")); mes("^33355F*Crash!*^000000"); mes("....."); emotion(e_swt, false, "Theo Cherno"); @@ -1717,65 +1717,65 @@ OnTimer68000: end; OnTimer73000: mapannounce("airplane_01", _("*Kzzz...Drrrr...Boom! CRASH!*"), bc_map, C_LIME); - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom6#airplane")); end; OnTimer73500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom7#airplane")); end; OnTimer74000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom8#airplane")); end; OnTimer74500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom9#airplane")); end; OnTimer75000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom10#airplane")); end; OnTimer75500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom6#airplane")); end; OnTimer76000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom7#airplane")); end; OnTimer76500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom8#airplane")); end; OnTimer77000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom9#airplane")); end; OnTimer77500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom10#airplane")); end; OnTimer78000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom6#airplane")); mapannounce("airplane_01", _("Engineer: Oh no! We've got a problem with the Number One Rear Engine!"), bc_map, C_LIME); end; OnTimer79000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom7#airplane")); end; OnTimer80000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom8#airplane")); end; OnTimer81000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom9#airplane")); end; OnTimer82000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom10#airplane")); end; OnTimer83000: mapannounce("airplane_01", _("Pilot: Hurry! Get the women, old people and children somewhere safe first! Hurry!"), bc_map, C_LIME); end; OnTimer84000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom6#airplane")); end; OnTimer85000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom7#airplane")); end; OnTimer86000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom8#airplane")); end; OnTimer87000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom7#airplane")); end; OnTimer88000: emotion(e_ag, false, "Airship Captain#02"); @@ -1791,46 +1791,46 @@ OnTimer98000: end; OnTimer103000: mapannounce("airplane_01", _("*Bang! Bang Bang! Bang Bang! Bang Bang Bang!*"), bc_map, C_LIME); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer103500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom1#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom1#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer104000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom2#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom2#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer104500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom3#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom3#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer105000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom4#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom4#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer105500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom5#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom5#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer106000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom0#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom0#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer106500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom1#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom1#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer107000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom2#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom2#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer107500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom4#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom4#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer108000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom5#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom5#airplane")); killmonster "airplane_01","Airship#airplane02::OnCaptainMobDead"; end; OnTimer113000: @@ -1839,59 +1839,59 @@ OnTimer113000: end; OnTimer118000: mapannounce("airplane_01", _("*Bang! Bang Bang! Bang Bang! Bang Bang Bang!*"), bc_map, C_LIME); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer118500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom6#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer119000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom7#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer119500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom8#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer120000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom9#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer120500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom10#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer121000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom6#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer121500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom7#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer122000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom8#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer122500: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); - specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom9#airplane")); + specialeffect(EF_HIT5, AREA, getnpcid("Airship Captain#02")); end; OnTimer123000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom8#airplane")); mapannounce("airplane_01", _("*Boom! Boom Boom! Boom Boom! Boom!*"), bc_map, C_LIME); end; OnTimer124000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom9#airplane")); end; OnTimer125000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom10#airplane")); end; OnTimer126000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom6#airplane")); end; OnTimer127000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("boom7#airplane")); end; OnTimer128000: emotion(e_an, false, "Airship Captain#02"); diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt index 415d37d5b..9af2ab5fc 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, getnpcid(0, "Postell Schuwell#D")); + specialeffect(EF_CHANGECOLD, AREA, getnpcid("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, getnpcid(0, "Hit")); + specialeffect(EF_SONICBLOWHIT, AREA, getnpcid("Hit")); mes "[???]"; mes "Ha!"; next; diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt index 61888cab4..03816faf2 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, getnpcid(0, " #fire")); + specialeffect(EF_BLASTMINEBOMB, AREA, getnpcid(" #fire")); end; } mes "[Lady]"; diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt index d8f3d750f..e49886dbd 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, getnpcid(0, "Maria Morebna#rus46")); + specialeffect(EF_FREEZED, AREA, getnpcid("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, getnpcid(0, "Maria Morebna#rus46")); - specialeffect(EF_DARKBREATH, AREA, getnpcid(0, "Maria Morebna#rus46")); - specialeffect(EF_DEVIL, AREA, getnpcid(0, "Maria Morebna#rus46")); + specialeffect(EF_HIT2, AREA, getnpcid("Maria Morebna#rus46")); + specialeffect(EF_DARKBREATH, AREA, getnpcid("Maria Morebna#rus46")); + specialeffect(EF_DEVIL, AREA, getnpcid("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, getnpcid(0, "Gray Wolf#rus05")); + specialeffect(EF_FIREHIT, AREA, getnpcid("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, getnpcid(0, "Maria Morebna#rus46")); + specialeffect(EF_ABSORBSPIRITS, AREA, getnpcid("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, getnpcid(0, "Maria Morebna#rus46")); + specialeffect(EF_RESURRECTION, AREA, getnpcid("Maria Morebna#rus46")); next; mes "[Gray Wolf]"; mes "Success!!"; diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt index 39b3a7b97..43e4beadb 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, 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")); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid("#ice_4f_1")); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid("#ice_4f_2")); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid("#ice_4f_3")); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid("#ice_4f_4")); end; OnTimer60000: diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt index 815459c41..ed63847a2 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, getnpcid(0, "#lowen")); + specialeffect(EF_BEGINSPELL7, AREA, getnpcid("#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, getnpcid(0, "#doppelganger2")); + specialeffect(EF_BEGINSPELL7, AREA, getnpcid("#doppelganger2")); mes "[Male Voice]"; mes "Lowen!"; mes "Noooooooooo!!!"; diff --git a/npc/quests/thana_quest.txt b/npc/quests/thana_quest.txt index 4363a6a27..ea01a926d 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, 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")); + specialeffect(EF_BEGINSPELL7, AREA, getnpcid("#tteffect05")); + specialeffect(EF_BEGINSPELL3, AREA, getnpcid("#tteffect04")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid("#tteffect03")); + specialeffect(EF_BEGINSPELL4, AREA, getnpcid("#tteffect02")); + specialeffect(EF_BEGINSPELL5, AREA, getnpcid("#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, getnpcid(0, "#sommon_thanatos")); - specialeffect(EF_SEISMICWEAPON, AREA, getnpcid(0, "#sommon_thanatos")); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid("#sommon_thanatos")); + specialeffect(EF_SEISMICWEAPON, AREA, getnpcid("#sommon_thanatos")); monster "thana_boss",141,218,"Thanatos Phantom",1708,1,"#sommon_thanatos::OnMyMobDead"; end; OnMyMobDead: |