summaryrefslogtreecommitdiff
path: root/npc/quests
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests')
-rw-r--r--npc/quests/bard_quest.txt10
-rw-r--r--npc/quests/cooking_quest.txt2
-rw-r--r--npc/quests/eye_of_hellion.txt12
-rw-r--r--npc/quests/first_class/tu_acolyte.txt14
-rw-r--r--npc/quests/first_class/tu_archer.txt16
-rw-r--r--npc/quests/first_class/tu_magician01.txt36
-rw-r--r--npc/quests/first_class/tu_thief01.txt24
-rw-r--r--npc/quests/kiel_hyre_quest.txt12
-rw-r--r--npc/quests/newgears/2004_headgears.txt16
-rw-r--r--npc/quests/newgears/2010_headgears.txt4
-rw-r--r--npc/quests/quests_13_1.txt70
-rw-r--r--npc/quests/quests_13_2.txt10
-rw-r--r--npc/quests/quests_airship.txt144
-rw-r--r--npc/quests/quests_hugel.txt84
-rw-r--r--npc/quests/quests_juperos.txt8
-rw-r--r--npc/quests/quests_lighthalzen.txt18
-rw-r--r--npc/quests/quests_louyang.txt2
-rw-r--r--npc/quests/quests_morocc.txt52
-rw-r--r--npc/quests/quests_moscovia.txt82
-rw-r--r--npc/quests/quests_nameless.txt2
-rw-r--r--npc/quests/quests_rachel.txt14
-rw-r--r--npc/quests/quests_veins.txt4
-rw-r--r--npc/quests/seals/brisingamen_seal.txt10
-rw-r--r--npc/quests/seals/megingard_seal.txt16
-rw-r--r--npc/quests/seals/mjolnir_seal.txt36
-rw-r--r--npc/quests/skills/assassin_skills.txt22
-rw-r--r--npc/quests/skills/bard_skills.txt4
-rw-r--r--npc/quests/skills/dancer_skills.txt22
-rw-r--r--npc/quests/skills/hunter_skills.txt2
-rw-r--r--npc/quests/skills/priest_skills.txt4
-rw-r--r--npc/quests/skills/rogue_skills.txt18
-rw-r--r--npc/quests/skills/sage_skills.txt14
-rw-r--r--npc/quests/skills/wizard_skills.txt8
-rw-r--r--npc/quests/thana_quest.txt40
-rw-r--r--npc/quests/the_sign_quest.txt16
35 files changed, 424 insertions, 424 deletions
diff --git a/npc/quests/bard_quest.txt b/npc/quests/bard_quest.txt
index 79eca7720..173efeca8 100644
--- a/npc/quests/bard_quest.txt
+++ b/npc/quests/bard_quest.txt
@@ -92,7 +92,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "Goddess, Idun.";
mes "Keeper of the apples of youth";
mes "Goddess of immortality.^000000";
- specialeffect2 EF_STEAL;
+ specialeffect(EF_STEAL, AREA, playerattached());
next;
mes "^483D8BEvery god never grows old.";
mes "Idun, the wife of Bragi,";
@@ -114,7 +114,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "Loki was careless once,";
mes "and made her lost to the gods.";
mes "He was forced to get her back.^000000";
- specialeffect2 EF_STEAL;
+ specialeffect(EF_STEAL, AREA, playerattached());
next;
mes "^483D8BMy goddess stands";
mes "In the field of Asgard";
@@ -132,7 +132,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "You will be blessed";
mes "By every god...^000000";
next;
- specialeffect2 EF_RESURRECTION;
+ specialeffect(EF_RESURRECTION, AREA, playerattached());
mes "^3355FFWhile listening to his song, you feel at ease, and your thoughts become clearer. You believe that you see the vision of an angel, and you gain some experience points.^000000";
gef_bard_q += 16; //30,31
if (RENEWAL_EXP) {
@@ -200,7 +200,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "Now, let me cast a spell...";
mes "*Mumble mumble...*";
next;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
mes "^3355FFOn your left wrist, a crescent shaped mark glowing with a silver light appeared. It's only noticeable when you concentrate on finding it, but it might clearly appear under the moonlight.^000000";
next;
mes "[Errende]";
@@ -1721,7 +1721,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "Are one. 12 petals, our";
mes "Love finally blossoms.^000000";
next;
- specialeffect2 EF_POISONREACT2;
+ specialeffect(EF_POISONREACT2, AREA, playerattached());
mes "^3355FFAfter the song, Kino smiles at you. You feel a sharp pain on your wrist. On the spot where the silver crescent was, you see a tiny black cross.^000000";
next;
mes "[Kino Kitty]";
diff --git a/npc/quests/cooking_quest.txt b/npc/quests/cooking_quest.txt
index 048201063..ad0306b2c 100644
--- a/npc/quests/cooking_quest.txt
+++ b/npc/quests/cooking_quest.txt
@@ -885,7 +885,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
next;
cutin "nyuang_4",2;
emotion e_an,0,"Child with Cat#cook";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -10,0;
mes "[Child with Cat]";
mes "Grrrrrrr!";
diff --git a/npc/quests/eye_of_hellion.txt b/npc/quests/eye_of_hellion.txt
index f785023fe..a070bf8df 100644
--- a/npc/quests/eye_of_hellion.txt
+++ b/npc/quests/eye_of_hellion.txt
@@ -358,7 +358,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "this piece I found here in";
mes "Morroc, and the pieces you";
mes "found in Prontera and Payon. There's one more left in Geffen.";
- specialeffect2 EF_HEAL2;
+ specialeffect(EF_HEAL2, AREA, playerattached());
specialeffect EF_HEAL2;
next;
mes "[Sir Chilias'Tyus]";
@@ -679,7 +679,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
OnTouch:
if (HELLIONQ == 57 && countitem(Piece_Of_Slate_2) > 0) {
- specialeffect2 EF_HEAL2;
+ specialeffect(EF_HEAL2, AREA, playerattached());
specialeffect EF_HEAL2;
mes "^3355FFOne of the Tablet Pieces";
mes "that you have is beginning to";
@@ -1896,7 +1896,7 @@ pay_arche,142,28,0 script Buddha Statue#paypuzz6 HIDDEN_NPC,5,5,{
OnTouch:
if (HELLIONQ == 56 && countitem(Piece_Of_Slate_1) > 0) {
- specialeffect2 EF_HEAL2;
+ specialeffect(EF_HEAL2, AREA, playerattached());
specialeffect EF_HEAL2;
mes "^3355FFThe piece of tablet";
mes "that you have is shining";
@@ -1924,7 +1924,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
close;
}
else if (HELLIONQ == 58) {
- specialeffect2 EF_HEAL2;
+ specialeffect(EF_HEAL2, AREA, playerattached());
specialeffect EF_HEAL2;
mes "[Welshyun]";
mes "That...";
@@ -2265,7 +2265,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
OnTouch:
if (HELLIONQ == 58 && countitem(Piece_Of_Slate_3) > 0) {
- specialeffect2 EF_HEAL2;
+ specialeffect(EF_HEAL2, AREA, playerattached());
specialeffect EF_HEAL2;
mes "^3355FFThe piece of tablet";
mes "that you have is shining";
@@ -2444,7 +2444,7 @@ gef_fild09,296,59,0 script Hidden Cave#hellion HIDDEN_NPC,3,3,{
OnTouch:
if (HELLIONQ == 68 && countitem(Slate) > 0) {
- specialeffect2 EF_HEAL2;
+ specialeffect(EF_HEAL2, AREA, playerattached());
specialeffect EF_HEAL2;
mes "^3355FFThe tablet in your";
mes "hands begins to shine";
diff --git a/npc/quests/first_class/tu_acolyte.txt b/npc/quests/first_class/tu_acolyte.txt
index 2762325cb..69cfb3cbf 100644
--- a/npc/quests/first_class/tu_acolyte.txt
+++ b/npc/quests/first_class/tu_acolyte.txt
@@ -310,7 +310,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
tu_acolyte01 = 3;
if(getskilllv("AL_HEAL") == 0){
getexp 0,100;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
}
close;
case 3:
@@ -399,11 +399,11 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
delitem Mace, 1;
if(Class == Job_Acolyte_High) {
getexp 2000,1000;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
close;
} else {
getexp 1000,500;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
close;
}
} else {
@@ -654,7 +654,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
mes "[Asthe]";
mes "Pneuma shields characters";
mes "within a 3*3 block, or a 9 cell area, from ^FF0000long range attacks^000000. If you party with Archers or other Bow users, be careful since you might accidentally block their attacks.";
- specialeffect2 EF_PNEUMA;
+ specialeffect(EF_PNEUMA, AREA, playerattached());
next;
mes "[Asthe]";
mes "There are some Undead monsters";
@@ -795,7 +795,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{
getexp 1000,1000;
else
getexp 5000,3000;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
close;
}
mes "If you get into an";
@@ -873,7 +873,7 @@ monk_in,18,38,6 script Priest Gardron#tu 4_M_MINISTER,{
getexp 1000,1000;
else
getexp 2000,2000;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
//getitem Blue_Potion,1;
close;
} else {
@@ -1145,7 +1145,7 @@ prt_monk,226,257,6 script Ill Girl#tu 4_F_04,{
getexp 0,500;
else
getexp 0,1000;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
break;
} else {
diff --git a/npc/quests/first_class/tu_archer.txt b/npc/quests/first_class/tu_archer.txt
index 479e71e67..834323086 100644
--- a/npc/quests/first_class/tu_archer.txt
+++ b/npc/quests/first_class/tu_archer.txt
@@ -78,7 +78,7 @@ payon_in02,67,65,3 script Bard Jet#tu 1_M_BARD,{
next;
if (Sex == SEX_MALE) {
select("A joke, eh?");
- specialeffect2 EF_TALK_FROSTJOKE;
+ specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
mes "[Jet]";
mes "Oh...";
mes "My...";
@@ -92,7 +92,7 @@ payon_in02,67,65,3 script Bard Jet#tu 1_M_BARD,{
mes "just have to become a Bard!";
} else {
select("Scream!");
- specialeffect2 EF_TALK_SCREAM;
+ specialeffect(EF_TALK_SCREAM, AREA, playerattached());
mes "[Jet]";
mes "W-Wow...";
mes "I don't know why, but that was truly amazing. You must have";
@@ -118,7 +118,7 @@ payon_in02,67,65,3 script Bard Jet#tu 1_M_BARD,{
mes "Ooh...!";
mes "You're...!";
next;
- specialeffect2 EF_TALK_FROSTJOKE;
+ specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
//specialeffect EF_TALK_FROSTJOKE,"Bard Jet#tu";
emotion e_no1;
mes "[Jet]";
@@ -657,7 +657,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "[Reidin Corse]";
mes "Ah, but your eyes look a lot sharper than they used to be.";
mes "Here, this is a small, special reward for you.";
- specialeffect2 EF_WIND;
+ specialeffect(EF_WIND, AREA, playerattached());
tu_archer01 = 7;
getexp 500,0;
next;
@@ -884,7 +884,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "enough and you'll get used to it!";
next;
if(.@eagle == 0){
- specialeffect2 EF_WIND;
+ specialeffect(EF_WIND, AREA, playerattached());
tu_archer01 = 10;
getexp 0,500;
}
@@ -962,7 +962,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "[Reidin Corse]";
mes "Good! You pass.";
mes "Don't forget that you gotta keep training and improve your skills. Before you know it, you'll be an expert almost as good as me!";
- specialeffect2 EF_WIND;
+ specialeffect(EF_WIND, AREA, playerattached());
tu_archer01 = 12;
if (RENEWAL)
delitem Grasshoppers_Leg,10;
@@ -1095,7 +1095,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{
mes "you that you've passed";
mes "my final exam! Here, take";
mes "this little reward!";
- specialeffect2 EF_WIND;
+ specialeffect(EF_WIND, AREA, playerattached());
tu_archer01 = 16;
if (RENEWAL_EXP)
getexp 1000,1000;
@@ -1383,7 +1383,7 @@ pay_arche,84,139,3 script Seisner 4_F_JOB_HUNTER,{
mes "[Seisner]";
mes "If you feel comfortable enough with the knowledge I've taught you, you should go back to Master Kavaruk. But if you still have questions, you can always come and ask me.";
close2;
- specialeffect2 EF_WIND;
+ specialeffect(EF_WIND, AREA, playerattached());
tu_archer01 = 3;
if(JobLevel == 1){
getexp 0,30;
diff --git a/npc/quests/first_class/tu_magician01.txt b/npc/quests/first_class/tu_magician01.txt
index 73a3007f3..198913b83 100644
--- a/npc/quests/first_class/tu_magician01.txt
+++ b/npc/quests/first_class/tu_magician01.txt
@@ -155,7 +155,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
getexp BaseLevel*3,BaseLevel*2;
else
getexp BaseLevel*30,BaseLevel*15;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
case 1:
mes "Are you ready";
@@ -389,7 +389,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "move on to the next";
mes "subject then. Ho ho ho~!";
tu_magician01 = 2;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
if(.@eread_1) getexp 150,70;
if(.@eread_2) getexp 150,70;
if(.@eread_3) getexp 150,70;
@@ -415,7 +415,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "Napalm Beat. Learning these";
mes "enables Mages to learn their";
mes "more advanced skills.";
- specialeffect2 EF_NAPALMBEAT;
+ specialeffect(EF_NAPALMBEAT, AREA, playerattached());
next;
mes "[Mana]";
mes "Increasing the levels of";
@@ -423,7 +423,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "access to other spells, but";
mes "the damage of those basic";
mes "attack skills is also increased.";
- specialeffect2 EF_LIGHTBOLT;
+ specialeffect(EF_LIGHTBOLT, AREA, playerattached());
next;
mes "[Mana]";
mes "Other skills that are";
@@ -432,7 +432,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "Increase SP Recovery. They're";
mes "not really attack spells, but are useful in certain situations.";
next;
- specialeffect2 EF_SIGHT;
+ specialeffect(EF_SIGHT, AREA, playerattached());
mes "[Mana]";
mes "Sight is used to";
mes "reveal enemies that";
@@ -440,7 +440,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "mind that this skill's";
mes "range doesn't go too far.";
next;
- specialeffect2 EF_STONECURSE;
+ specialeffect(EF_STONECURSE, AREA, playerattached());
mes "[Mana]";
mes "Stone Curse has the chance";
mes "to curse a target, temporarily";
@@ -477,7 +477,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "Then bring them to me, okay?";
tu_magician01 = 3;
getexp 400,200;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
case 3:
mes "Ah, you're back?";
@@ -505,7 +505,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "Anyway, let me know when you're ready for the next lesson, okay?";
tu_magician01 = 5;
getexp 400,200;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
}
case 4:
@@ -533,7 +533,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "Anyway, let me know when you're ready for the next lesson, okay?";
tu_magician01 = 5;
getexp 400,200;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
}
case 5:
@@ -554,7 +554,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "a certain level. It attacks";
mes "with ancient spiritual power~";
next;
- specialeffect2 EF_SOULSTRIKE;
+ specialeffect(EF_SOULSTRIKE, AREA, playerattached());
next;
mes "[Mana]";
mes "As you train in the use";
@@ -572,7 +572,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "Safety Wall protects against";
mes "most close range attacks.";
next;
- specialeffect2 EF_GLASSWALL;
+ specialeffect(EF_GLASSWALL, AREA, playerattached());
next;
mes "[Mana]";
mes "However, Safety Wall";
@@ -591,7 +591,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "can learn after training";
mes "in the use of Fire Bolt.";
next;
- specialeffect2 EF_FIREBALL;
+ specialeffect(EF_FIREBALL, AREA, playerattached());
next;
mes "[Mana]";
mes "Fire Ball can actually";
@@ -610,9 +610,9 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "learned after increasing";
mes "the Cold Bolt skill to";
mes "a certain level.";
- specialeffect2 EF_FROSTDIVER;
+ specialeffect(EF_FROSTDIVER, AREA, playerattached());
next;
- specialeffect2 EF_FROSTDIVER2;
+ specialeffect(EF_FROSTDIVER2, AREA, playerattached());
mes "[Mana]";
mes "Frost Diver will damage";
mes "enemies and has the chance";
@@ -638,7 +638,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "increasing the Lightning";
mes "Bolt skill to a certain level.";
next;
- specialeffect2 EF_THUNDERSTORM;
+ specialeffect(EF_THUNDERSTORM, AREA, playerattached());
mes "[Mana]";
mes "Thunderstorm is similar";
mes "to Fire Ball in that it can";
@@ -658,7 +658,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "Sight. Unlike other skills,";
mes "Fire Wall targets an area.";
next;
- specialeffect2 EF_FIREWALL;
+ specialeffect(EF_FIREWALL, AREA, playerattached());
mes "[Mana]";
mes "So you can place";
mes "a Fire Wall in locations";
@@ -684,7 +684,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "inside the Mage Guild to";
mes "teach you how to use it.";
next;
- specialeffect2 EF_ENERGYCOAT;
+ specialeffect(EF_ENERGYCOAT, AREA, playerattached());
next;
mes "[Mana]";
mes "If you do decide to";
@@ -711,7 +711,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{
mes "in handy when fighting...";
tu_magician01 = 6;
getitem Wand,1;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
if(.@skill_e1) getexp 300,100;
if(.@skill_e2) getexp 300,100;
if(.@skill_e3) getexp 300,100;
diff --git a/npc/quests/first_class/tu_thief01.txt b/npc/quests/first_class/tu_thief01.txt
index 13f251d71..58e654122 100644
--- a/npc/quests/first_class/tu_thief01.txt
+++ b/npc/quests/first_class/tu_thief01.txt
@@ -108,7 +108,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "So if you're feeling like the damage you're making is pretty weak, you might want more stat points in ^2F4F2FSTR^000000. How high your raise your own STR is really up to you.";
tu_thief01 = 1;
getexp 200,100;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
case 2:
mes "[Yierhan]";
@@ -124,7 +124,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "also increase your attack damage, but they're insignificant compared to STR. I repeat: ^660000insignificant^000000.";
tu_thief01 = 1;
getexp 400,200;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
case 3:
mes "[Yierhan]";
@@ -139,7 +139,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "So if you're feeling like the damage you're making is pretty weak, you might want more stat points in ^2F4F2FSTR^000000. How high your raise your own STR is really up to you.";
tu_thief01 = 1;
getexp 200,100;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
}
} else if(tu_thief01 == 1){
@@ -249,7 +249,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "I can explain real quick.";
tu_thief01 = 3;
getexp BaseLevel*30,BaseLevel*15;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
} else if(tu_thief01 == 3){
mes "So...";
@@ -291,7 +291,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "Steal is an Active Skill that has the chance of nabbing you some";
mes "free items! You can't use it against other people, though.";
next;
- specialeffect2 EF_STEAL;
+ specialeffect(EF_STEAL, AREA, playerattached());
mes "[Yierhan]";
mes "But you can use Steal to take items from monsters! If you're lucky, you can get some good items that way. Oh, and Steal doesn't affect monster drop rates.";
.@read_s = 1;
@@ -334,7 +334,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "after you learn the Envenom skill. Detoxify allows you to counteract the effects of poison on a target.";
.@read_r = 1;
next;
- specialeffect2 EF_DETOXICATION;
+ specialeffect(EF_DETOXICATION, AREA, playerattached());
next;
break;
case 7:
@@ -346,7 +346,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "[Yierhan]";
mes "Now that you're such an expert on skills, I want you to level up your skills and come back, got it?";
tu_thief01 = 4;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
if(.@read_d) getexp 300,100;
if(.@read_f) getexp 300,100;
if(.@read_s) getexp 300,100;
@@ -370,7 +370,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
savepoint "moc_ruins",80,164;
getitem Wing_Of_Butterfly,1;
getexp 100,50;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close2;
warp "moc_fild12",158,373;
end;
@@ -428,7 +428,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
tu_thief01 = 8;
getitem Main_Gauche,1;
getexp 1000,500;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
case 2:
mes "[Yierhan]";
@@ -438,7 +438,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
tu_thief01 = 7;
getitem Main_Gauche,1;
getexp 500,200;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
}
} else {
@@ -465,7 +465,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
tu_thief01 = 7;
getitem Main_Gauche,1;
getexp 500,200;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
}
}
@@ -508,7 +508,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{
mes "other there, okay?";
tu_thief01 = 8;
getexp 200,100;
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
close;
} else if(tu_thief01 == 8){
mes "Heya pal.";
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/newgears/2010_headgears.txt b/npc/quests/newgears/2010_headgears.txt
index 7fb5178b8..16d76d5e6 100644
--- a/npc/quests/newgears/2010_headgears.txt
+++ b/npc/quests/newgears/2010_headgears.txt
@@ -778,8 +778,8 @@ gef_fild07,108,161,4 script Roda Frog#Frog_Cap RODA_FROG,1,1,{
next;
mes "[King Froggie Vll]";
mes "I hearby give " + strcharinfo(PC_NAME) + ", our hero, this Frog Hat.";
- specialeffect2 EF_MAPPILLAR2;
- specialeffect2 EF_BLESSING;
+ specialeffect(EF_MAPPILLAR2, AREA, playerattached());
+ specialeffect(EF_BLESSING, AREA, playerattached());
erasequest 5004;
2009_hat = 6;
getitem Frog_Cap,1; //Frog_Cap
diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt
index 562609d31..17cacaff6 100644
--- a/npc/quests/quests_13_1.txt
+++ b/npc/quests/quests_13_1.txt
@@ -5401,7 +5401,7 @@ OnTouch:
mes "This is a really special drink I preserved. Please, drink it while it's nice and hot.";
next;
mes "- You feel so refreshed and light, as you drink the tea that the Official offered. -";
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
ep13_1_rhea = 100;
if (RENEWAL_EXP)
getexp 80000,3000;
@@ -8264,8 +8264,8 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
spl_fild02,314,165,0 script School of Fish#1::Fishinghole CLEAR_NPC,{
if (!questprogress(12060,PLAYTIME) && countitem(Piece_Of_Fish) < 20) {
- specialeffect2 EF_BUBBLE;
- specialeffect2 EF_INVENOM;
+ specialeffect(EF_BUBBLE, AREA, playerattached());
+ specialeffect(EF_INVENOM, AREA, playerattached());
.@fcast = 15;
if (isequipped(2550)) //Fishers_Muffler
.@fcast -= 2;
@@ -8431,7 +8431,7 @@ mid_camp,88,100,7 script Cat Hand Mining Agent 4_CAT,{
- script Mysterious Rock#0::manukrock FAKE_NPC,{
if (countitem(Unidentified_Mineral) < 3 && !questprogress(12062,PLAYTIME)) {
- specialeffect2 EF_REPAIRWEAPON;
+ specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
progressbar "ffff00",10;
.@rhea_ran = rand(1,20);
if (.@rhea_ran < 13) getitem Stone,1;
@@ -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;
@@ -9882,8 +9882,8 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "[???]";
mes "No... Noooo!";
next;
- specialeffect2 EF_SOULBREAKER;
- specialeffect2 EF_SONICBLOWHIT;
+ specialeffect(EF_SOULBREAKER, AREA, playerattached());
+ specialeffect(EF_SONICBLOWHIT, AREA, playerattached());
mes "[Expedition Messenger]";
mes "Argh... " + strcharinfo(PC_NAME) + ", are you alright? The report... The report...";
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;
@@ -9935,8 +9935,8 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "[???]";
mes "No... Noooo!";
next;
- specialeffect2 EF_SOULBREAKER;
- specialeffect2 EF_SONICBLOWHIT;
+ specialeffect(EF_SOULBREAKER, AREA, playerattached());
+ specialeffect(EF_SONICBLOWHIT, AREA, playerattached());
mes "[Expedition Messenger]";
mes "Argh... " + strcharinfo(PC_NAME) + ", are you alright? The report... The report...";
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 "...............";
@@ -11729,14 +11729,14 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "[Defaria]";
mes "What th--! How dare you fool an old man!";
mes "You little punk!";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -10,0;
next;
mes "[Defaria]";
mes "I may be old,";
mes "but I'm a representative of great Arunafeltz's scholars!";
mes "It's a mistake to trifle with me like that!";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -10,0;
next;
mes "[Defaria]";
@@ -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_13_2.txt b/npc/quests/quests_13_2.txt
index 0dfd16d23..e64e1c84a 100644
--- a/npc/quests/quests_13_2.txt
+++ b/npc/quests/quests_13_2.txt
@@ -415,7 +415,7 @@ man_fild02,132,47,4 duplicate(Cat Hand Agent#spl) Cat Hand Agent#man 4_M_BOSSCAT
- script Mysterious Rock#30::manukrock2 FAKE_NPC,{
if (countitem(Unidentified_Mineral) < 3 && !questprogress(12062,PLAYTIME)) {
- specialeffect2 EF_REPAIRWEAPON;
+ specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
progressbar "ffff00",10;
.@rhea_ran = rand(1,20);
if (.@rhea_ran < 13) getitem Stone,1;
@@ -455,8 +455,8 @@ man_fild02,241,227,0 duplicate(manukrock2) Mysterious Rock#40 CLEAR_NPC
spl_fild03,226,151,0 script School of Fish#5::FishingHole_spl3 CLEAR_NPC,{
if (!questprogress(12060,PLAYTIME) && countitem(Piece_Of_Fish) < 20) {
- specialeffect2 EF_BUBBLE;
- specialeffect2 EF_INVENOM;
+ specialeffect(EF_BUBBLE, AREA, playerattached());
+ specialeffect(EF_INVENOM, AREA, playerattached());
.@fcast = 15;
if (isequipped(2550)) //Fishers_Muffler
.@fcast -= 2;
@@ -475,7 +475,7 @@ spl_fild03,226,151,0 script School of Fish#5::FishingHole_spl3 CLEAR_NPC,{
if (rand(1,20) == 2) {
getitem Rough_File,1;
ep13_1_rhea = 14;
- specialeffect2 EF_BUBBLE;
+ specialeffect(EF_BUBBLE, AREA, playerattached());
mapannounce strcharinfo(PC_MAP),strcharinfo(PC_NAME) + " has caught a Loose File.",bc_map,"0xff77ff";
}
}
@@ -5757,7 +5757,7 @@ spl_in02,139,65,3 script Middle-Ranked Laphine#la 4_F_FAIRYKID3,{
mes "as Grenouille told you. -";
next;
mes "- Booowoong -";
- specialeffect2 EF_HEALSP;
+ specialeffect(EF_HEALSP, AREA, playerattached());
next;
mes "- When the lights gone,";
mes "a big flower of Alfheim was lied";
diff --git a/npc/quests/quests_airship.txt b/npc/quests/quests_airship.txt
index 8c743d99a..0f9616a35 100644
--- a/npc/quests/quests_airship.txt
+++ b/npc/quests/quests_airship.txt
@@ -694,7 +694,7 @@ ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{
mes "Touching another";
mes "man's wife...?!";
next;
- specialeffect2 EF_PIERCE;
+ specialeffect(EF_PIERCE, AREA, playerattached());
percentheal -30,0;
close;
case 2:
@@ -748,7 +748,7 @@ ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{
mes "Touching another";
mes "man's wife...?!";
next;
- specialeffect2 EF_PIERCE;
+ specialeffect(EF_PIERCE, AREA, playerattached());
percentheal -20,0;
close;
case 4:
@@ -760,7 +760,7 @@ ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{
mes "Touching another";
mes "man's wife...?!";
next;
- specialeffect2 EF_PIERCE;
+ specialeffect(EF_PIERCE, AREA, playerattached());
percentheal -10,0;
close;
}
@@ -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";
@@ -1814,7 +1814,7 @@ airplane_01,238,154,3 script Airship Captain#01 4_M_REINDEER,{
mes "exaggeration.";
mes "It has really a strong power.";
next;
- specialeffect2 EF_MAPPILLAR;
+ specialeffect(EF_MAPPILLAR, AREA, playerattached());
mes "[Tarlock]";
mes "Did you understand?";
mes "I'll rest a little.";
@@ -2137,7 +2137,7 @@ airplane,236,163,5 script Airship Captain#03 4_M_REINDEER,{
mes "Rune Stones? Hmm. Well, this";
mes "is goodbye for now, adventurer.";
close2;
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
completequest 8043;
lhz_heart = 13;
if (RENEWAL_EXP)
diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt
index 1ac300153..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...";
@@ -2443,17 +2443,17 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "[Herico]";
mes "Then...SPIT THEM OUT!";
percentheal -5,0;
- specialeffect2 EF_HIT4;
+ specialeffect(EF_HIT4, AREA, playerattached());
next;
mes "[Herico]";
mes "SPIT THEM OUT!";
percentheal -5,0;
- specialeffect2 EF_HIT4;
+ specialeffect(EF_HIT4, AREA, playerattached());
next;
mes "[Herico]";
mes "I SAID, SPIT THEM OUUUUUT!";
percentheal -5,0;
- specialeffect2 EF_HIT4;
+ specialeffect(EF_HIT4, AREA, playerattached());
next;
mes "["+strcharinfo(PC_NAME)+"]";
mes "Err...I was just kidding...";
@@ -3504,15 +3504,15 @@ hu_fild06,168,359,3 script Moks Mushrooms#Mush1 HIDDEN_NPC,{
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
close;
}
mes "- You have successfully gathered mushrooms. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 11)
mes "Collected Moks Mushroom Solution: 1ea ";
@@ -3559,15 +3559,15 @@ hu_fild06,194,341,3 script Moks Mushrooms#Mush2 HIDDEN_NPC,{
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
close;
}
mes "- You have successfully gathered mushrooms. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 11)
mes "Collected Moks Mushroom Solution: 1ea ";
@@ -3614,15 +3614,15 @@ hu_fild06,198,339,3 script Moks Mushrooms#Mush3 HIDDEN_NPC,{
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
close;
}
mes "- You have successfully gathered mushrooms. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 11)
mes "Collected Moks Mushroom Solution: 1ea ";
@@ -3669,15 +3669,15 @@ hugel,209,163,3 script Clam#C1 HIDDEN_NPC,{
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
close;
}
mes "- You have successfully gathered Clam Flesh. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 21)
mes "Collected Clam Flesh: 1ea ";
@@ -3724,7 +3724,7 @@ hugel,203,166,3 script Clam#C2 HIDDEN_NPC,{
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -";
@@ -3732,7 +3732,7 @@ hugel,203,166,3 script Clam#C2 HIDDEN_NPC,{
close;
}
mes "- You have successfully gathered Clam Flesh. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 21)
mes "Collected Clam Flesh: 1ea ";
@@ -3779,15 +3779,15 @@ hugel,217,158,3 script Clam#C3 HIDDEN_NPC,{
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
close;
}
mes "- You have successfully gathered Clam Flesh. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 21)
mes "Collected Clam Flesh: 1ea ";
@@ -3834,15 +3834,15 @@ hugel,204,150,3 script Clam#C4 HIDDEN_NPC,{
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
mes "- *Snip Snip* -";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
close;
}
mes "- You have successfully gathered Clam Flesh. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 21)
mes "Collected Clam Flesh: 1ea ";
@@ -3889,15 +3889,15 @@ hu_fild06,155,309,1 script Moks Bugs#Bug1 THIEF_BUG_,{
mes "- *Whizz Whizz Bzzzz* -";
mes "- *Whizz Whizz*-";
mes "- *Whizz Whizz*-";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- The bugs quickly ran away. You have failed to gather their shells. -";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
close;
}
mes "- You have successfully gathered Moks Bugs Shells. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 31)
mes "Collected Moks Bugs Shells: 1ea ";
@@ -3944,15 +3944,15 @@ hu_fild06,218,320,1 script Moks Bugs#Bug2 THIEF_BUG_,{
mes "- *Whizz Whizz Bzzzz* -";
mes "- *Whizz Whizz*-";
mes "- *Whizz Whizz*-";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- The bugs quickly ran away. You have failed to gather their shells. -";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
close;
}
mes "- You have successfully gathered Moks Bugs Shells. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 31)
mes "Collected Moks Bugs Shells: 1ea ";
@@ -3999,15 +3999,15 @@ hu_fild06,249,329,1 script Moks Bugs#Bug3 THIEF_BUG_,{
mes "- *Whizz Whizz Bzzzz* -";
mes "- *Whizz Whizz*-";
mes "- *Whizz Whizz*-";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- The bugs quickly ran away. You have failed to gather their shells. -";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
close;
}
mes "- You have successfully gathered Moks Bugs Shells. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 31)
mes "Collected Moks Bugs Shells: 1ea ";
@@ -4054,15 +4054,15 @@ hu_fild06,218,373,1 script Moks Bugs#Bug4 THIEF_BUG_,{
mes "- *Whizz Whizz Bzzzz* -";
mes "- *Whizz Whizz*-";
mes "- *Whizz Whizz*-";
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
next;
if (rand(1,5) > 4) {
mes "- The bugs quickly ran away. You have failed to gather their shells. -";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
close;
}
mes "- You have successfully gathered Moks Bugs Shells. -";
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
++hg_tre;
if (hg_tre == 31)
mes "Collected Moks Bugs Shells: 1ea ";
@@ -4140,7 +4140,7 @@ lhz_dun02,244,226,0 script Unethical Machine HIDDEN_NPC,{
mes "- You threw a Marine Sphere Bottle toward the machine. -";
next;
mes "BOOM!";
- specialeffect2 EF_SUI_EXPLOSION;
+ specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
enablenpc "HiddenExplosion";
mapannounce "lhz_dun02","Beep------------------ ",1,0x99CCFF;
delitem Mini_Bottle,1; //Marine sphere bottle
@@ -4202,7 +4202,7 @@ hugel,198,169,0 script #HugelTree HIDDEN_WARP_NPC,2,2,{
mes "of overwhelming comfort.^000000";
close;
} else if (hg_memory == 6) {
- specialeffect2 EF_BEGINSPELL5;
+ specialeffect(EF_BEGINSPELL5, AREA, playerattached());
mes "^3355FFWhat's this strange";
mes "feeling of dread?";
mes "This peculiar chill...";
@@ -4858,7 +4858,7 @@ hugel,196,164,3 script El Schatt 1_M_04,{
mes "It's... I'm Manainne...";
mes "^333333*Sniff*^000000 She had to go back...";
next;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
hg_memory = 12;
getexp RENEWAL_EXP?8000:50000,0;
completequest 8063;
@@ -5153,7 +5153,7 @@ hu_fild06,190,367,3 script Torpy's Mom 4_F_GODEMOM,{
mes "it's not much, but I hope";
mes "you accept this as our thanks.";
mes "Goodbye for now, adventurer~";
- specialeffect2 (hg_ubu01 == 6)?EF_CONE:EF_MVP;
+ specialeffect((hg_ubu01 == 6)?EF_CONE:EF_MVP, AREA, playerattached());
hg_ubu01 = 8;
completequest 12048;
getitem Dex_Dish05,3; //Green Salad
@@ -6982,7 +6982,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
close;
}
hg_milk = 9;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
getexp RENEWAL_EXP?10000:100000,0;
getitem 12063,3;
erasequest 12043;
@@ -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_juperos.txt b/npc/quests/quests_juperos.txt
index 558c80860..2f2bb0956 100644
--- a/npc/quests/quests_juperos.txt
+++ b/npc/quests/quests_juperos.txt
@@ -1656,7 +1656,7 @@ OnTouch:
mes "Ahhhh...";
mes "It feels like";
mes "I'm floating...";
- specialeffect2 EF_LIGHTSPHERE;
+ specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
close2;
stopnpctimer;
warp "juperos_02",128,278;
@@ -1733,7 +1733,7 @@ OnMyMobDead:
mapannounce "juperos_02","Have you come seeking Juperos?! It no longer exists...",bc_map,"0xFF0000";
else if (.MyMobs == 0) {
mapannounce "juperos_02","Have you come to see me? Fine! Find me first!",bc_map,"0xFF0000";
- specialeffect2 563;
+ specialeffect(EF_SCREEN_QUAKE, AREA, playerattached());
soundeffectall "earth_quake.wav",0;
disablenpc "3F Gate Switch#jupe";
donpcevent "Restricted Area#jupe::OnEnable";
@@ -4303,7 +4303,7 @@ jupe_ele_r,51,98,0 script Switch#ufe CLEAR_NPC,{
disablenpc "Switch#ufe";
enablenpc "Switch On#ufe";
initnpctimer;
- specialeffect2 563;
+ specialeffect(EF_SCREEN_QUAKE, AREA, playerattached());
soundeffectall "earth_quake.wav",0;
close2;
cutin "5-1",255;
@@ -4912,7 +4912,7 @@ OnTouch:
next;
switch(select("Use it.", "Ignore it.")) {
case 1:
- specialeffect2 EF_LIGHTSPHERE;
+ specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
close2;
stopnpctimer;
warp "juperos_02",130,142;
diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt
index 26b7de092..8709629b0 100644
--- a/npc/quests/quests_lighthalzen.txt
+++ b/npc/quests/quests_lighthalzen.txt
@@ -4428,13 +4428,13 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{
mes "You must remember the";
mes "locations that I am about";
mes "to show you. Get ready...";
- specialeffect2 EF_SIGHT;
+ specialeffect(EF_SIGHT, AREA, playerattached());
next;
mes "[Elder]";
mes "Yaaaaappp ---!";
- specialeffect2 EF_SIGHTRASHER;
- specialeffect2 EF_VOLCANO;
- specialeffect2 EF_MAPPILLAR;
+ specialeffect(EF_SIGHTRASHER, AREA, playerattached());
+ specialeffect(EF_VOLCANO, AREA, playerattached());
+ specialeffect(EF_MAPPILLAR, AREA, playerattached());
next;
mes "[Elder]";
mes "There! The locations";
@@ -4546,11 +4546,11 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{
mes "......";
mes ".........";
mes "Hooooooo...";
- specialeffect2 EF_BENEDICTIO;
+ specialeffect(EF_BENEDICTIO, AREA, playerattached());
next;
mes "[Elder]";
mes "Yaaaaapp ---!";
- specialeffect2 EF_ASPERSIO;
+ specialeffect(EF_ASPERSIO, AREA, playerattached());
next;
mes "[Elder]";
mes "Whew! I've managed";
@@ -4837,7 +4837,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
mes "old pendant";
mes "into her hands.^000000";
next;
- specialeffect2 EF_FORESTLIGHT4;
+ specialeffect(EF_FORESTLIGHT4, AREA, playerattached());
mes "...............";
next;
mes "["+strcharinfo(PC_NAME)+"]";
@@ -5033,7 +5033,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
mes "old pendant";
mes "into her hands.^000000";
next;
- specialeffect2 EF_FORESTLIGHT4;
+ specialeffect(EF_FORESTLIGHT4, AREA, playerattached());
mes "......";
next;
mes "["+strcharinfo(PC_NAME)+"]";
@@ -5203,7 +5203,7 @@ OnTouch_:
mes ".............";
next;
mes "*Shhhzzzzzzz!*";
- specialeffect2 EF_MAPPILLAR;
+ specialeffect(EF_MAPPILLAR, AREA, playerattached());
next;
mes "[????]";
mes "...........";
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_morocc.txt b/npc/quests/quests_morocc.txt
index 0d509b2d4..e786e3580 100644
--- a/npc/quests/quests_morocc.txt
+++ b/npc/quests/quests_morocc.txt
@@ -2265,7 +2265,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 1_M_02,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Ahchoo! Thanks to you, I couldn't find it from the library. So I travelled all the way up to Schwaltzvalt... Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "^660000Feeling angry at him, you exaggerated a fit of sneezing which you have had for quite a while.^000000";
next;
@@ -2621,7 +2621,7 @@ yuno,333,210,5 script Library Master#garas 1_M_LIBRARYMASTER,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "...Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "[Library Master]";
mes "God bless you. Oh, did you catch cold?";
@@ -2720,7 +2720,7 @@ OnTouch:
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "...Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "[Library Master]";
mes "God bless you. Oh, did you catch cold?";
@@ -2762,7 +2762,7 @@ yuno_in04,111,57,3 script Library Part-Timer#garas 4_F_LGTGIRL,{
mes "["+ strcharinfo(PC_NAME) +"]";
mes "I'm looking for a book called <The Crow of the Fate> written by Oliver Hilpert... Ahchoo!";
emotion e_wah,1;
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "[Library Part-Timer]";
mes "Ah, I remember that one... It's the one most frequently left in the cart.";
@@ -2778,7 +2778,7 @@ yuno_in04,111,57,3 script Library Part-Timer#garas 4_F_LGTGIRL,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Yes, umm... ahchoo! Where can I find old news articles...? Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "[Library Part-Timer]";
mes "Oh, you can find them in a corner of the right room.";
@@ -2786,7 +2786,7 @@ yuno_in04,111,57,3 script Library Part-Timer#garas 4_F_LGTGIRL,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Thanks... Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
close;
}
else if (barmunt_crow == 11) {
@@ -2799,7 +2799,7 @@ yuno_in04,111,57,3 script Library Part-Timer#garas 4_F_LGTGIRL,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Cough... I'm looking for a book called <The Crow of the Fate> written by Oliver Hilpert.";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "[Library Part-Timer]";
mes "Ah, I remember that one... It's the one most frequently left in the cart.";
@@ -2817,7 +2817,7 @@ yuno_in04,111,57,3 script Library Part-Timer#garas 4_F_LGTGIRL,{
next;
mes "[Library Part-Timer]";
mes "Right! When the hero was meeting his end in the burning mansion... ^FF0000-- BEEP --^000000";
- specialeffect2 EF_BASH3D2;
+ specialeffect(EF_BASH3D2, AREA, playerattached());
close2;
warp "que_ba",264,186;
end;
@@ -2846,7 +2846,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Ah, luckily there's one... Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Sniff... So now all I have to do is just check this out and deliver it to that Mammi fanatic.";
@@ -2856,7 +2856,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{
mes "^660000You were about to pull out the book, complaining and grumbling, when suddenly it felt as if your brain exploded. You black out...^000000";
barmunt_crow = 4;
close2;
- specialeffect2 EF_BASH3D2;
+ specialeffect(EF_BASH3D2, AREA, playerattached());
warp "que_ba",247,33;
end;
}
@@ -2870,7 +2870,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Ah, luckily there's one... Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Sniff... So now all I have to do is just check this out and deliver it to that Mammi fanatic.";
@@ -2879,7 +2879,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{
next;
mes "^660000You were about to pull out the book, complaining and grumbling, when suddenly it felt as if your brain exploded. You black out...^000000";
close2;
- specialeffect2 EF_BASH3D2;
+ specialeffect(EF_BASH3D2, AREA, playerattached());
warp "que_ba",247,33;
end;
}
@@ -2893,7 +2893,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Ah, luckily there's one... Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Sniff... So now all I have to do is just check this out and deliver it to that Mammi fanatic.";
@@ -2902,7 +2902,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{
next;
mes "^660000You were about to pull out the book, complaining and grumbling, when suddenly it felt as if your brain exploded. You black out...^000000";
close2;
- specialeffect2 EF_BASH3D2;
+ specialeffect(EF_BASH3D2, AREA, playerattached());
warp "que_ba",247,33;
end;
}
@@ -2928,7 +2928,7 @@ OnTouch:
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Phew... I guess I had a dream or something... Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "^660000It was an indescribable dream: a burning laboratory in an unknown place in Schwaltzvalt.";
mes "You tried to think hard, but could not figure out what the dream meant.^000000";
@@ -3182,7 +3182,7 @@ yuno_in04,169,123,3 script Suspicious Man#oliver_h 4_M_ATEIL,{
mes "^3131FFSeclusion - A female disciple's letter^000000";
mes "^3131FFThe stepmother = Lover from a past life?!^000000";
close2;
- specialeffect2 EF_ENHANCE;
+ specialeffect(EF_ENHANCE, AREA, playerattached());
delitem Mami_Photo_Album,1;
barmunt_crow = 14;
getitem Author_Autograph,1;
@@ -3215,7 +3215,7 @@ yuno_in04,169,123,3 script Suspicious Man#oliver_h 4_M_ATEIL,{
next;
mes "(WHACK)";
specialeffect EF_VENOMDUST;
- specialeffect2 EF_DETOXICATION;
+ specialeffect(EF_DETOXICATION, AREA, playerattached());
next;
mes "^660000Oliver picked up the feather more quickly than you could, and then tore it into pieces before you could even say anything.^000000";
next;
@@ -3426,7 +3426,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Ah... Ahchoo! Mr. Hilpert, are you interested in my bag? It's just a simple bag I got from the Novice Training Grounds...";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "[Oliver Hilpert]";
mes "No, no!";
@@ -3446,7 +3446,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Ahchoo! Are you also a Mammi fan?";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "[Oliver Hilpert]";
mes "Are you kidding?! Of course!";
@@ -3480,7 +3480,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "No, I got it as a gift from someone... Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "[Oliver Hilpert]";
mes "What? Now I'm shocked!";
@@ -3552,7 +3552,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{
mes "^3131FFSeclusion - A female disciple's letter^000000";
mes "^3131FFThe stepmother = Lover from a past life?!^000000";
close2;
- specialeffect2 EF_ENHANCE;
+ specialeffect(EF_ENHANCE, AREA, playerattached());
delitem Mami_Photo_Album,1;
barmunt_crow = 14;
getitem Author_Autograph,1;
@@ -3597,7 +3597,7 @@ que_ba,257,39,3 script Female Researcher#bpast 4_F_ALCHE,{
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Ahchoo! Ahchoo! Gosh...";
mes "Hey, where am I...?";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "- Pzzzz -";
specialeffect EF_CLOAKING;
@@ -3730,7 +3730,7 @@ OnTouch:
next;
mes "^660000You were looking at their backs as they left, and then noticed that you were holding the book you were reading in your hands. Then....^000000";
barmunt_crow = 6;
- specialeffect2 EF_FLASHER;
+ specialeffect(EF_FLASHER, AREA, playerattached());
close2;
warp "yuno_in04",100,3;
}
@@ -3895,7 +3895,7 @@ cave,82,97,3 script Cave Settler#g1 4_M_CAVE1,3,3,{
mes "Ah... Ahchoo!";
mes "'I'm not like other outsiders... Ahchoo!";
mes "I have a goal to achieve in here... Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "^660000Although you a bit intimidated by this guard, and your sneezing definitely not helping, you continue.^000000";
next;
@@ -3983,7 +3983,7 @@ OnTouch:
mes "Ah... Ahchoo!";
mes "'I'm not like other outsiders... Ahchoo!";
mes "I have a goal to achieve in here... Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "^660000Although you're a bit intimidated by this guard, and your sneezing definitely not helping, you continue.^000000";
next;
@@ -4088,7 +4088,7 @@ cave,22,186,3 script Monsterous Man#zid 4_M_MUT1,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Umm... Ahchoo!";
- specialeffect2 EF_VENOMDUST;
+ specialeffect(EF_VENOMDUST, AREA, playerattached());
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Do you know a man by the name of Oliver Hilpert?";
diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt
index c722f2677..8632e160c 100644
--- a/npc/quests/quests_moscovia.txt
+++ b/npc/quests/quests_moscovia.txt
@@ -1698,7 +1698,7 @@ S_AS_1:
if (rand(1,3) == 2) {
soundeffect "mos_gusli1.wav",0;
emotion e_no1;
- specialeffect2 EF_EXIT;
+ specialeffect(EF_EXIT, AREA, playerattached());
mes "[Aged Stranger]";
mes "Oh! You are good at playing the";
mes "Gusli! In such a short time... you";
@@ -5561,7 +5561,7 @@ moscovia,252,203,5 script A Little Girl#mos1 4_F_RUSCHILD,{
mes "[Yosefina]";
mes "Yes, I like it very much~";
mes "I never want it to leave. I don't want winter to come.";
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mos_kid = 1;
if (mos_middle == 1 && mos_elder == 1) mos_nowinter = 11;
close;
@@ -5602,7 +5602,7 @@ moscovia,233,204,3 script A Young Man#mos2 4_M_RUSMAN2,{
mes "No, I don't like the cold winter.";
mes "And I get angry when";
mes "seeing couples.";
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mos_middle = 1;
if (mos_kid == 1 && mos_elder == 1) mos_nowinter = 11;
close;
@@ -5643,7 +5643,7 @@ moscovia,219,229,5 script A Middle-Aged Man#mos3 4_M_RUSBALD,{
mes "Everyone will be sad";
mes "when it comes again.";
mes "I don't want winter to come.";
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mos_elder = 1;
if (mos_kid == 1 && mos_middle == 1) mos_nowinter = 11;
close;
@@ -5704,7 +5704,7 @@ moscovia,255,203,3 script A Little Boy#mos4 4_M_RUSCHILD,{
mes "a long and heavy sword";
mes "some day.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Vasili]";
mes "If winter is gone,";
mes "it is much easier to go on adventures.";
@@ -5753,7 +5753,7 @@ moscovia,204,188,5 script A Lady#mos5 4_F_RUSWOMAN1,{
mes "The sunflower is the symbol";
mes "of this province.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Katya]";
mes "I wish that winter never comes back and";
mes "I could see sunflowers everyday.";
@@ -5794,7 +5794,7 @@ moscovia,167,97,3 script A Lady#mos6 4_F_RUSWOMAN3,{
mes "Yes, kids like it and";
mes "flowers are blooming.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Roza]";
mes "Whoever likes the cold and dark winter?";
mes "I hope this weather last forever.";
@@ -5851,7 +5851,7 @@ moscovia,202,102,3 script A Little Boy#mos7 4_M_RUSCHILD,{
mes "nobody comes out of their homes.";
mes "So it's not very fun.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Feliks]";
mes "If winter never comes";
mes "I can have";
@@ -5908,7 +5908,7 @@ moscovia,220,172,3 script A Young Man#mos8 4_M_RUSMAN2,{
mes "I feel an impulse to adventure";
mes "many times a day.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Ilyav]";
mes "But, I don't want to in the cold winter.";
mes "Hu, if the weather everday was as good as lately,";
@@ -5948,7 +5948,7 @@ moscovia,253,175,3 script A Man#mos9 4_M_RUSBALD,{
mes "There's so much snow that it makes it hard to go";
mes "around here and there.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Orek]";
mes "In winter, fishing is more difficult,";
mes "anyway, it is bad for us.";
@@ -6005,7 +6005,7 @@ moscovia,168,135,3 script A Lady#mos10 4_F_RUSWOMAN3,{
mes "But, you don't even know how cold it gets here in winter.";
mes "You wouldn't even want to go outside.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Kyra]";
mes "It is good to stay with my family, but";
mes "nobody likes the cold winter.";
@@ -6057,7 +6057,7 @@ moscovia,192,80,3 script A Lady#mos11 4_F_RUSWOMAN1,{
mes "[Sabina]";
mes "If the summer continues to last,";
mes "I can see them all the time...";
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mos_middle = 1;
if (mos_kid == 1 && mos_elder == 1) mos_nowinter = 11;
close;
@@ -6108,7 +6108,7 @@ moscovia,211,215,5 script A Young Man#mos12 4_M_RUSMAN1,{
mes "Of course.";
mes "From now on, it is my golden age of opportunity!";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Izlof]";
mes "If it is the summer all the time,";
mes "my life will be in an amorous mood.";
@@ -6158,7 +6158,7 @@ moscovia,149,112,3 script A Man#mos13 4_M_RUSBALD,{
mes "Yes, under the warm sunlight,";
mes "I like to rest.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Lev]";
mes "I hope that this warm weather";
mes "will last forever.";
@@ -6210,7 +6210,7 @@ moscovia,196,71,3 script A Young Man#mos14 4_M_RUSMAN2,{
mes "sea is frozen, so it";
mes "is impossible to sail.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Fredek]";
mes "I hope that winter never comes.";
mes "It is my dream.";
@@ -6262,7 +6262,7 @@ moscovia,234,168,5 script A Man#mos15 4_M_RUSBALD,{
mes "If you didn't prepare,";
mes "it would be hard for you.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Gavrel]";
mes "It would be a lot better";
mes "if winter never came again.";
@@ -6315,7 +6315,7 @@ moscovia,228,80,3 script A Little Boy#mos16 4_M_RUSCHILD,{
mes "Unless the sunlight is too strong,";
mes "it is much better than the cold winter.";
next;
- specialeffect2 EF_SUMMONSLAVE;
+ specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
mes "[Rurik]";
mes "By the way, what is this for?";
mes "It is natural to like the summer.";
@@ -6729,8 +6729,8 @@ mosk_dun01,169,162,0 script Mysterious Stone#rus02 HIDDEN_NPC,{
next;
mes "- !!!!!! -";
percentheal -50,-50;
- specialeffect2 EF_DARKBREATH;
- specialeffect2 EF_HIT2;
+ specialeffect(EF_DARKBREATH, AREA, playerattached());
+ specialeffect(EF_HIT2, AREA, playerattached());
emotion e_omg,1;
next;
mes "- An unknown force has -";
@@ -6834,7 +6834,7 @@ mosk_dun01,167,160,3 script Gray Wolf#rus03 4_RUS_DWOLF,{
rhea_rus_main = 3;
setquest(8136);
emotion e_omg,1;
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -50,0;
next;
mes "- The Gray Wolf attacks you -";
@@ -7078,7 +7078,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
mes "- The key begins to glow -";
mes "- wind begins to blow -";
mes "- from somewhere -";
- specialeffect2 EF_BEGINSPELL;
+ specialeffect(EF_BEGINSPELL, AREA, playerattached());
specialeffect EF_FREEZED;
next;
} else {
@@ -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!!";
@@ -7644,7 +7644,7 @@ moscovia,178,127,0 script The Blacksmith#rus06 1_M_SMITH,{
next;
mes "[The Blacksmith]";
mes "'^ff0000Spellshield Protection^000000.";
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
next;
mes "[The Blacksmith]";
mes "This spell protects you from any curse the keymaker might try to use. Remember the words of the spell. It won't last very long because I am just a blacksmith.";
@@ -8538,7 +8538,7 @@ mosk_fild02,157,233,0 script Shepherdess#rus10 1_F_04,{
close;
}
mes "- My hand is pricked by thorns! -";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -5,0;
close;
}
@@ -8705,7 +8705,7 @@ OnTouch:
mes "- something gleaming -";
mes "- seems to stare at you!! -";
close2;
- specialeffect2 EF_FLASHER;
+ specialeffect(EF_FLASHER, AREA, playerattached());
unitkill getcharid(CHAR_ID_ACCOUNT);
end;
}
@@ -8727,7 +8727,7 @@ OnTouch:
}
mes "-You seem to hear the splash but something gleaming raids on you!!-";
close2;
- specialeffect2 EF_FLASHER;
+ specialeffect(EF_FLASHER, AREA, playerattached());
unitkill getcharid(CHAR_ID_ACCOUNT);
end;
}
@@ -8925,7 +8925,7 @@ mosk_fild02,124,202,3 script Lusalka#rus23 4_F_RUSGREEN,{
mes "Here, my hair...?!";
mes "Aaaaaaaah!??!?!";
sc_start SC_CURSE,60000,0;
- specialeffect2 EF_LORD;
+ specialeffect(EF_LORD, AREA, playerattached());
emotion e_omg,1;
percentheal -30,0;
next;
@@ -8968,7 +8968,7 @@ mosk_fild02,124,202,3 script Lusalka#rus23 4_F_RUSGREEN,{
}
mes "-When Lusalka watches you, you are blacked out-";
close2;
- specialeffect2 EF_FLASHER;
+ specialeffect(EF_FLASHER, AREA, playerattached());
unitkill getcharid(CHAR_ID_ACCOUNT);
donpcevent "Lusalka#rus23::OnDisable";
end;
@@ -9415,7 +9415,7 @@ mosk_que,45,131,0 script Stone Furnace#rus28 HIDDEN_NPC,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Oops, it's hot, hot!!!";
- specialeffect2 EF_FIREHIT;
+ specialeffect(EF_FIREHIT, AREA, playerattached());
emotion e_omg,1;
percentheal -5,0;
close;
@@ -9679,7 +9679,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
mes "[Baba Yaga]";
mes "'Presto Change-o!!'";
mes "'Turn into a pig!!'";
- specialeffect2 EF_BARRIER;
+ specialeffect(EF_BARRIER, AREA, playerattached());
emotion e_omg;
next;
mes "[Baba Yaga]";
@@ -9697,7 +9697,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Eh, eh.. I mean.. I say.. spell...";
mes ""+ .@input$ +" !!!";
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
next;
} else {
mes "["+ strcharinfo(PC_NAME) +"]";
@@ -9889,7 +9889,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "'There is an order for you to open your eyes!!!'";
- specialeffect2 EF_BEGINSPELL3;
+ specialeffect(EF_BEGINSPELL3, AREA, playerattached());
rhea_rus_main = 29;
monster "mosk_dun02",52,210,"Alarm to 5 minutes",1193,1,"Baba Yaga#rus32::OnMyMobDead";
monster "mosk_dun02",53,210,"Alarm on time",1193,1,"Baba Yaga#rus32::OnMyMobDead";
@@ -11006,7 +11006,7 @@ treasure01,24,39,0 script Old Bed#rus38 HIDDEN_NPC,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Ouch?!";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -5,0;
next;
mes "- Something unidentified bites your hand !! -";
@@ -11059,7 +11059,7 @@ treasure01,24,39,0 script Old Bed#rus38 HIDDEN_NPC,{
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Ouch?!";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -5,0;
next;
mes "- Something unidentified bites your hand !! -";
@@ -11828,7 +11828,7 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
mes "Ok, it is my turn?";
next;
mes "-You cast a dice. The dice falls down, rotates and stops there-";
- specialeffect2 EF_STUNATTACK;
+ specialeffect(EF_STUNATTACK, AREA, playerattached());
next;
.@rus_dice01 = rand(1,6);
mes "["+ strcharinfo(PC_NAME) +"]";
diff --git a/npc/quests/quests_nameless.txt b/npc/quests/quests_nameless.txt
index 0e0422530..9461461a5 100644
--- a/npc/quests/quests_nameless.txt
+++ b/npc/quests/quests_nameless.txt
@@ -3129,7 +3129,7 @@ OnTouch:
mes "[Pope]";
mes "May Freya bless you...";
next;
- specialeffect2 EF_ENCHANTPOISON;
+ specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
mes "^3355FFThe pope prayed in earnest";
mes "for you, and you feel a strong";
mes "aura of warmth and kindness";
diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt
index 59baa6f04..d3d392817 100644
--- a/npc/quests/quests_rachel.txt
+++ b/npc/quests/quests_rachel.txt
@@ -3360,7 +3360,7 @@ rachel,265,98,3 script Hamion#aru 4_M_RACHMAN2,{
mes "[Hamion]";
mes "Here we go...!";
next;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
mes "^3355FF*Pzzzz*^000000";
next;
mes "[Hamion]";
@@ -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:
@@ -4847,7 +4847,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
cutin "",255;
lost_boy = 13;
completequest 8099;
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
getexp RENEWAL_EXP?90000:900000,0;
end;
}
@@ -5272,7 +5272,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
ra_tem_q = 0;
cutin "",255;
completequest 8105;
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
if (RENEWAL_EXP)
getexp 90000,60000;
else
diff --git a/npc/quests/quests_veins.txt b/npc/quests/quests_veins.txt
index c6c95bc17..c448e32c7 100644
--- a/npc/quests/quests_veins.txt
+++ b/npc/quests/quests_veins.txt
@@ -3056,7 +3056,7 @@ veins,327,185,3 script Kid#camelcamel 4_M_DST_CHILD,{
mes "I'll see you later~";
completequest 3083;
rachel_camel = 25;
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
if (RENEWAL_EXP)
getexp 100000,50000;
else
@@ -6663,7 +6663,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "[Colonel Vito]";
mes "You idiot!";
percentheal -10,0;
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
next;
}
mes "[Colonel Vito]";
diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt
index 6976517ce..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!!!";
@@ -3369,7 +3369,7 @@ que_god02,178,127,3 script Valkyrie#1 4_F_VALKYRIE,{
next;
mes "[Valkyrie]";
mes "Your soul and spirit will be reborn in Valhalla as a holy warrior preparing for the holy war.";
- specialeffect2 EF_BLESSING;
+ specialeffect(EF_BLESSING, AREA, playerattached());
next;
mes "[Valkyrie]";
mes "And...";
@@ -3454,7 +3454,7 @@ que_god02,178,127,3 script Valkyrie#1 4_F_VALKYRIE,{
mes "[Valkyrie]";
mes "Your soul and";
mes "spirit will be reborn in Valhalla as a holy warrior preparing for the holy war.";
- specialeffect2 EF_BLESSING;
+ specialeffect(EF_BLESSING, AREA, playerattached());
next;
mes "[Valkyrie]";
mes "And...";
@@ -4443,7 +4443,7 @@ mjolnir_09,87,129,3 script Berling#1 4_M_DWARF,{
next;
mes "[Berling]";
mes "Memorize all five lines of this song exactly. Now take this golden teardrop and please seek out Grer.";
- specialeffect2 EF_IMPOSITIO;
+ specialeffect(EF_IMPOSITIO, AREA, playerattached());
god_brising = 44;
close2;
hideonnpc "Berling#1";
diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt
index 228268602..96a634a4e 100644
--- a/npc/quests/seals/megingard_seal.txt
+++ b/npc/quests/seals/megingard_seal.txt
@@ -3186,27 +3186,27 @@ niflheim,109,254,0 script Egnigem 4_M_NFDEADSWDMAN,{
mes "imbue you with the";
mes "^666666last vestiges of my strength^000000...";
specialeffect EF_BEGINSPELL5;
- specialeffect2 EF_HOLYHIT;
+ specialeffect(EF_HOLYHIT, AREA, playerattached());
next;
mes "[Egnigem]";
mes "May the heavens";
mes "answer me as I call upon the";
mes "light of justice that empowers the defenders of truth, and threaten the enemies of peace.";
specialeffect EF_BEGINSPELL6;
- specialeffect2 EF_HOLYHIT;
+ specialeffect(EF_HOLYHIT, AREA, playerattached());
next;
mes "[Egnigem]";
mes "May you always shine with";
mes "the light of truth. Let the light within you eradicate the shadows";
mes "of deception, fear and malice.";
specialeffect EF_BEGINSPELL6;
- specialeffect2 EF_HOLYHIT;
+ specialeffect(EF_HOLYHIT, AREA, playerattached());
next;
mes "[Egnigem]";
mes "By the holy power";
mes "invested in me, I humbly bestow upon you my remaining strength. Fight honorably, and do not lose sight of righteousness.";
specialeffect EF_LOCKON;
- specialeffect2 EF_HOLYCROSS;
+ specialeffect(EF_HOLYCROSS, AREA, playerattached());
god_eremes = 27;
if (RENEWAL_EXP) {
if (BaseLevel < 56) getexp 2700,0;
@@ -3244,27 +3244,27 @@ niflheim,109,254,0 script Egnigem 4_M_NFDEADSWDMAN,{
mes "imbue you with the";
mes "^666666last vestiges of my strength^000000...";
specialeffect EF_BEGINSPELL5;
- specialeffect2 EF_HOLYHIT;
+ specialeffect(EF_HOLYHIT, AREA, playerattached());
next;
mes "[Egnigem]";
mes "May the heavens";
mes "answer me as I call upon the";
mes "light of justice that empowers the defenders of truth, and threaten the enemies of peace.";
specialeffect EF_BEGINSPELL6;
- specialeffect2 EF_HOLYHIT;
+ specialeffect(EF_HOLYHIT, AREA, playerattached());
next;
mes "[Egnigem]";
mes "May you always shine with";
mes "the light of truth. Let the light within you eradicate the shadows";
mes "of deception, fear and malice.";
specialeffect EF_BEGINSPELL6;
- specialeffect2 EF_HOLYHIT;
+ specialeffect(EF_HOLYHIT, AREA, playerattached());
next;
mes "[Egnigem]";
mes "By the holy power";
mes "invested in me, I humbly bestow upon you my remaining strength. Fight honorably, and do not lose sight of righteousness.";
specialeffect EF_LOCKON;
- specialeffect2 EF_HOLYCROSS;
+ specialeffect(EF_HOLYCROSS, AREA, playerattached());
god_eremes = 27;
if (RENEWAL_EXP) {
if (BaseLevel < 56) getexp 2700,0;
diff --git a/npc/quests/seals/mjolnir_seal.txt b/npc/quests/seals/mjolnir_seal.txt
index e4775cfb2..746167f20 100644
--- a/npc/quests/seals/mjolnir_seal.txt
+++ b/npc/quests/seals/mjolnir_seal.txt
@@ -1150,7 +1150,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
}
}
else if (.@p_atk == 4) {
- specialeffect2 EF_HEAL;
+ specialeffect(EF_HEAL, AREA, playerattached());
.@p_vit += 10;
mes "--------------------";
mes "" + strcharinfo(PC_NAME) + "";
@@ -1186,7 +1186,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "lost " + .@damage + " HP!";
}
else if (.@p_atk == 0) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= 10;
mes "--------------------";
mes "You were hit by";
@@ -1245,7 +1245,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "Sudri attacks the legs!";
}
if (.@n_atk == .@p_def) {
- specialeffect2 EF_GUARD;
+ specialeffect(EF_GUARD, AREA, playerattached());
if (.@p_def == 1) {
mes "--------------------";
mes "" + strcharinfo(PC_NAME) + "";
@@ -1277,7 +1277,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "" + strcharinfo(PC_NAME) + "";
mes "counters!";
if (.@count == 1) {
- specialeffect2 EF_AUTOCOUNTER;
+ specialeffect(EF_AUTOCOUNTER, AREA, playerattached());
specialeffect EF_MAGNUMBREAK;
.@n_vit -= 20;
mes "You successfully";
@@ -1291,7 +1291,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
}
}
else {
- specialeffect2 EF_CRASHEARTH;
+ specialeffect(EF_CRASHEARTH, AREA, playerattached());
.@p_vit -= 30;
mes "You've taken";
mes "critical damage";
@@ -1301,7 +1301,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
}
}
else if (.@n_atk == 1) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
@@ -1311,7 +1311,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 2) {
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
@@ -1321,7 +1321,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 3) {
- specialeffect2 EF_HIT4;
+ specialeffect(EF_HIT4, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
@@ -1331,7 +1331,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 0) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
@@ -1558,7 +1558,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
}
}
else if (.@p_atk == 4) {
- specialeffect2 EF_HEAL;
+ specialeffect(EF_HEAL, AREA, playerattached());
.@p_vit += 10;
mes "--------------------";
mes "" + strcharinfo(PC_NAME) + "";
@@ -1594,7 +1594,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "lost " + .@damage + " HP!";
}
else if (.@p_atk == 0) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= 10;
mes "--------------------";
mes "You were hit by";
@@ -1653,7 +1653,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "Sudri attacks the legs!";
}
if (.@n_atk == .@p_def) {
- specialeffect2 EF_GUARD;
+ specialeffect(EF_GUARD, AREA, playerattached());
if (.@p_def == 1) {
mes "--------------------";
mes "" + strcharinfo(PC_NAME) + " quickly dodged,";
@@ -1684,7 +1684,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "" + strcharinfo(PC_NAME) + "";
mes "counters!";
if (.@count == 1) {
- specialeffect2 EF_AUTOCOUNTER;
+ specialeffect(EF_AUTOCOUNTER, AREA, playerattached());
specialeffect EF_MAGNUMBREAK;
.@n_vit -= 20;
mes "You successfully";
@@ -1698,7 +1698,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
}
}
else {
- specialeffect2 EF_CRASHEARTH;
+ specialeffect(EF_CRASHEARTH, AREA, playerattached());
.@p_vit -= 30;
mes "You've taken";
mes "critical damage";
@@ -1708,7 +1708,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
}
}
else if (.@n_atk == 1) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
@@ -1718,7 +1718,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 2) {
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
@@ -1728,7 +1728,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 3) {
- specialeffect2 EF_HIT4;
+ specialeffect(EF_HIT4, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
@@ -1738,7 +1738,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{
mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!";
}
else if (.@n_atk == 0) {
- specialeffect2 EF_HIT5;
+ specialeffect(EF_HIT5, AREA, playerattached());
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
diff --git a/npc/quests/skills/assassin_skills.txt b/npc/quests/skills/assassin_skills.txt
index 4c282caef..7e03eac2f 100644
--- a/npc/quests/skills/assassin_skills.txt
+++ b/npc/quests/skills/assassin_skills.txt
@@ -76,7 +76,7 @@ in_moc_16,14,27,5 script Assassin#realman 4_M_ACROSS,{
mes "you forgot how to do this";
mes "skill? I suppose that all you";
mes "needed was a quick refresher.";
- specialeffect2 EF_INVENOM;
+ specialeffect(EF_INVENOM, AREA, playerattached());
next;
mes "[Killtin]";
mes "Alright, I think it's";
@@ -245,7 +245,7 @@ in_moc_16,14,27,5 script Assassin#realman 4_M_ACROSS,{
mes "bit of credit for my excellent";
mes "instruction. Ah, very nice.";
next;
- specialeffect2 EF_INVENOM;
+ specialeffect(EF_INVENOM, AREA, playerattached());
next;
mes "[Killtin]";
mes "Alright, you may need";
@@ -357,7 +357,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{
mes "please try it so I can give";
mes "you feedback on your form.";
next;
- specialeffect2 EF_SONICBLOW;
+ specialeffect(EF_SONICBLOW, AREA, playerattached());
next;
mes "[Esmille]";
mes "Hmm, you're shifting";
@@ -366,7 +366,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{
mes "help if your center of";
mes "gravity was like this...";
next;
- specialeffect2 EF_SONICBLOW;
+ specialeffect(EF_SONICBLOW, AREA, playerattached());
next;
mes "[Esmille]";
mes "Ah, you're so very";
@@ -444,7 +444,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{
mes "please try it so I can give";
mes "you feedback on your form.";
next;
- specialeffect2 EF_SONICBLOW;
+ specialeffect(EF_SONICBLOW, AREA, playerattached());
next;
mes "[Esmille]";
mes "Hmm, you're shifting";
@@ -453,7 +453,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{
mes "help if your center of";
mes "gravity was like this...";
next;
- specialeffect2 EF_SONICBLOW;
+ specialeffect(EF_SONICBLOW, AREA, playerattached());
next;
mes "[Esmille]";
mes "That's a little better.";
@@ -462,7 +462,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{
mes "and follow through with";
mes "the stabbing motion.";
next;
- specialeffect2 EF_SONICBLOW;
+ specialeffect(EF_SONICBLOW, AREA, playerattached());
next;
mes "[Esmille]";
mes "Ah, you're so very";
@@ -470,7 +470,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{
mes "Focus more on smoothly";
mes "transitioning from your";
mes "stance to executed action.";
- specialeffect2 EF_SONICBLOW;
+ specialeffect(EF_SONICBLOW, AREA, playerattached());
next;
mes "[Esmille]";
mes "Yes, that's it...!";
@@ -535,7 +535,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{
mes "please try it so I can give";
mes "you feedback on your form.";
next;
- specialeffect2 EF_SONICBLOW;
+ specialeffect(EF_SONICBLOW, AREA, playerattached());
next;
mes "[Esmille]";
mes "Hmm, you're shifting";
@@ -544,7 +544,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{
mes "help if your center of";
mes "gravity was like this...";
next;
- specialeffect2 EF_SONICBLOW;
+ specialeffect(EF_SONICBLOW, AREA, playerattached());
next;
mes "[Esmille]";
mes "That's a little better.";
@@ -553,7 +553,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{
mes "and follow through with";
mes "the stabbing motion.";
next;
- specialeffect2 EF_SONICBLOW;
+ specialeffect(EF_SONICBLOW, AREA, playerattached());
next;
mes "[Esmille]";
mes "Yes, that's it...!";
diff --git a/npc/quests/skills/bard_skills.txt b/npc/quests/skills/bard_skills.txt
index 6fe904e28..6df565fb2 100644
--- a/npc/quests/skills/bard_skills.txt
+++ b/npc/quests/skills/bard_skills.txt
@@ -496,7 +496,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{
mes "voices yours, is this voice";
mes "mine. Head spinning, head";
mes "spinning, head spinning...!''";
- specialeffect2 EF_TALK_FROSTJOKE;
+ specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
delitem Munak_Doll,1;
skill "BA_PANGVOICE",1,0;
qskill_bard = 9;
@@ -578,7 +578,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{
mes "voices yours, is this voice";
mes "mine. Head spinning, head";
mes "spinning, head spinning...!''";
- specialeffect2 EF_TALK_FROSTJOKE;
+ specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
delitem Egg,5;
skill 1010,1,0;
qskill_bard = 9;
diff --git a/npc/quests/skills/dancer_skills.txt b/npc/quests/skills/dancer_skills.txt
index 82a516e5d..4da84d035 100644
--- a/npc/quests/skills/dancer_skills.txt
+++ b/npc/quests/skills/dancer_skills.txt
@@ -67,7 +67,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
mes "Ow...!";
mes "Th-that whip!";
mes "I-i-it huuuurts!";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -5,0;
close;
}
@@ -83,7 +83,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
mes "What the...? Ack!";
mes "S-stop wh-whipping";
mes "me! It... It stiiings!";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -10,0;
next;
mes "[Canell]";
@@ -107,7 +107,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
mes "Not that whip";
mes "again! Arrgh, it's--";
mes "It hurts so much!";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -10,0;
close;
}
@@ -165,7 +165,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
mes "I am irresistable!";
mes "I am the most attractive";
mes "woman in the whole world!";
- specialeffect2 EF_FLASHER;
+ specialeffect(EF_FLASHER, AREA, playerattached());
next;
mes "^3355FFYour self esteem has";
mes "sky rocketed. Fortunately,";
@@ -251,7 +251,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
next;
mes "[Canell]";
mes "Bam!";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -5,0;
next;
mes "["+ strcharinfo(PC_NAME) +"]";
@@ -301,14 +301,14 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
mes "O-ow!";
mes "P-please...!";
mes "Not the whip again!";
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
percentheal -5,0;
close;
case 3:
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Un, deux, trois~";
emotion e_no1,1;
- specialeffect2 EF_FLASHER;
+ specialeffect(EF_FLASHER, AREA, playerattached());
next;
mes "[Canell]";
mes "Great, that's exactly";
@@ -337,7 +337,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
mes "^3355FFYou have finally learned";
mes "the Charming Wink skill.^000000";
DANCER_SK = 9;
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
skill "DC_WINKCHARM",1,0;
close;
}
@@ -380,7 +380,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
next;
mes "^3355FFYou have learned the";
mes "Charming Wink skill.^000000";
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
skill "DC_WINKCHARM",1,0;
close;
}
@@ -411,7 +411,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{
mes "handsome~";
mes "^333333*Wink~*^000000";
emotion e_kis;
- specialeffect2 EF_VALLENTINE2;
+ specialeffect(EF_VALLENTINE2, AREA, playerattached());
next;
mes "^3355FFStrangely enough,";
mes "her wink has made";
@@ -583,7 +583,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 1_F_PRIEST,{
mes "her fists and laughs";
mes "maniacally to herself.^000000";
percentheal -10,0;
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
emotion e_dots,1;
delitem Alchol,1;
delitem Apple,1;
diff --git a/npc/quests/skills/hunter_skills.txt b/npc/quests/skills/hunter_skills.txt
index 2d8aaf691..488e6eaf8 100644
--- a/npc/quests/skills/hunter_skills.txt
+++ b/npc/quests/skills/hunter_skills.txt
@@ -180,7 +180,7 @@ pay_arche,109,169,3 script Arpesto 4_M_05,{
mes "[Arpesto]";
mes "ARRRRRRRROOOOOOW~!";
specialeffect EF_FLASHER;
- specialeffect2 EF_FLASHER;
+ specialeffect(EF_FLASHER, AREA, playerattached());
next;
mes "[Arpesto]";
mes "^333333*Pant Pant*^000000";
diff --git a/npc/quests/skills/priest_skills.txt b/npc/quests/skills/priest_skills.txt
index 9a63fba52..a463686da 100644
--- a/npc/quests/skills/priest_skills.txt
+++ b/npc/quests/skills/priest_skills.txt
@@ -320,7 +320,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
}
if (.@success) {
- specialeffect2 EF_HEALSP;
+ specialeffect(EF_HEALSP, AREA, playerattached());
mes "[Sister Linus]";
mes "Congratulations!";
mes "You successfully";
@@ -335,7 +335,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{
close;
}
else {
- specialeffect2 EF_POISONHIT;
+ specialeffect(EF_POISONHIT, AREA, playerattached());
mes "[Sister Linus]";
mes "Oh no! I'm sorry,";
mes "but you failed to";
diff --git a/npc/quests/skills/rogue_skills.txt b/npc/quests/skills/rogue_skills.txt
index a1c64b09f..aafa899da 100644
--- a/npc/quests/skills/rogue_skills.txt
+++ b/npc/quests/skills/rogue_skills.txt
@@ -73,9 +73,9 @@ OnInit:
OnTouch:
if (ROG_SK == 10) {
- specialeffect2 EF_CHANGECOLD;
+ specialeffect(EF_CHANGECOLD, AREA, playerattached());
specialeffect EF_CHANGEWIND;
- specialeffect2 EF_LIGHTSPHERE;
+ specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
ROG_SK = 11;
mes "[Killer]";
mes "Wh-what have";
@@ -115,7 +115,7 @@ OnTouch:
mes "now, you're using the Close";
mes "Confine skill perfectly!^000000";
specialeffect EF_POTION1;
- specialeffect2 EF_POTION7;
+ specialeffect(EF_POTION7, AREA, playerattached());
}
else {
mes "^3355FFWait--!";
@@ -157,7 +157,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{
mes "resulting from transcending,";
mes "eh? Then I will teach you the";
mes "Close Confine skill once again.";
- specialeffect2 EF_LIGHTSPHERE;
+ specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
skill 1005,1,0;
ROG_SK = 13;
close;
@@ -309,13 +309,13 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{
mes "that you covet so much...";
mes "^FF0000Close Confine^000000!";
specialeffect EF_CHANGECOLD;
- specialeffect2 EF_CHANGEWIND;
+ specialeffect(EF_CHANGEWIND, AREA, playerattached());
next;
mes "[Haijara Greg]";
mes "Hmpf. Now you are";
mes "helpless, allowing";
mes "me to do this: ^FF0000Back Stab^000000!";
- specialeffect2 EF_COMBOATTACK5;
+ specialeffect(EF_COMBOATTACK5, AREA, playerattached());
percentheal -95,0;
next;
mes "[Haijara Greg]";
@@ -512,7 +512,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{
mes "practice, and that you become as great a legend as Chae Takbae.";
ROG_SK = 12;
skill 1005,1,0;
- specialeffect2 EF_LIGHTSPHERE;
+ specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
close;
}
mes "[Haijara Greg]";
@@ -524,7 +524,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{
mes "thanks again for your help.";
ROG_SK = 12;
skill 1005,1,0;
- specialeffect2 EF_LIGHTSPHERE;
+ specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
close;
}
mes "[Haijara Greg]";
@@ -1205,7 +1205,7 @@ function script F_Kienna {
mes "You blocked me!";
mes "Very nice work~";
specialeffect EF_POTION1;
- specialeffect2 EF_POTION7;
+ specialeffect(EF_POTION7, AREA, playerattached());
++.@suc_1;
}
else {
diff --git a/npc/quests/skills/sage_skills.txt b/npc/quests/skills/sage_skills.txt
index 420477f4f..cb7dd81be 100644
--- a/npc/quests/skills/sage_skills.txt
+++ b/npc/quests/skills/sage_skills.txt
@@ -130,11 +130,11 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{
next;
mes "[Mishuna]";
mes "%$#@!#$% Yap~~";
- specialeffect2 EF_RUWACH;
+ specialeffect(EF_RUWACH, AREA, playerattached());
next;
mes "[Mishuna]";
mes "Yap!";
- specialeffect2 EF_BRANDISHSPEAR;
+ specialeffect(EF_BRANDISHSPEAR, AREA, playerattached());
next;
mes "^3355FFYou've successfully";
mes "learned the "+.@skill$[.@i]+" Elemental";
@@ -159,11 +159,11 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{
next;
mes "[Mishuna]";
mes "%$#@!#$% Yap~~";
- specialeffect2 EF_RUWACH;
+ specialeffect(EF_RUWACH, AREA, playerattached());
next;
mes "[Mishuna]";
mes "Yap!";
- specialeffect2 EF_BRANDISHSPEAR;
+ specialeffect(EF_BRANDISHSPEAR, AREA, playerattached());
next;
mes "^3355FFYou successfully recalled";
mes "the Elemental Coverter";
@@ -332,7 +332,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{
mes "Elemental Converter";
mes "Creation skill by reviewing";
mes "your copy of Barmundt's scroll.^000000";
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
delitem Scorpions_Tail,10;
delitem Horn,7; // Horn
delitem Colorful_Shell,12; // Rainbow_Shell
@@ -466,11 +466,11 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{
mes "a soft blue glow surrounds";
mes "his body and slowly grows";
mes "brighter and more intense.^000000";
- specialeffect2 EF_RUWACH;
+ specialeffect(EF_RUWACH, AREA, playerattached());
next;
mes "[Mishuna]";
mes "@#$%^~ Yap!";
- specialeffect2 EF_BRANDISHSPEAR;
+ specialeffect(EF_BRANDISHSPEAR, AREA, playerattached());
delitem .@ReqItem[.@i],20;
delitem Payon_Potion,1; // Payon Potion
delitem Morocc_Potion,1; // Morocc Potion
diff --git a/npc/quests/skills/wizard_skills.txt b/npc/quests/skills/wizard_skills.txt
index fd146a94f..31a9489f0 100644
--- a/npc/quests/skills/wizard_skills.txt
+++ b/npc/quests/skills/wizard_skills.txt
@@ -49,7 +49,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{
mes "Alright, here's your lesson!";
next;
mes "^3355FF*BAM! BOOM! CRASH!*^000000";
- specialeffect2 EF_SUI_EXPLOSION;
+ specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
next;
mes "[Meow]";
mes "Don't you dare get";
@@ -63,7 +63,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{
mes "the Sight Blaster skill before";
mes "Meow can administer another";
mes "vicious beating to you.";
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
skill "WZ_SIGHTBLASTER",1,0;
next;
mes "[Meow]";
@@ -287,7 +287,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{
mes "you to cast Sight before you";
mes "can activate it. Now try it.";
next;
- specialeffect2 EF_SUI_EXPLOSION;
+ specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
mes "^3355FF*BAM! BOOM!*^000000";
next;
mes "[Meow]";
@@ -311,7 +311,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{
mes "You actually learned it!";
mes "That took way too much effort,";
mes "but at least we're done here.";
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
delitem Crystal_Blue,10;
delitem Yellow_Live,10;
delitem Boody_Red,10;
diff --git a/npc/quests/thana_quest.txt b/npc/quests/thana_quest.txt
index 53c7b331f..4363a6a27 100644
--- a/npc/quests/thana_quest.txt
+++ b/npc/quests/thana_quest.txt
@@ -1014,7 +1014,7 @@ tha_t03,67,70,0 script Rune Device#tt1 HIDDEN_NPC,4,4,{
mes "The letters fly away in the form of a red key...";
thana_tower = 5;
changequest 7048,7049;
- specialeffect2 EF_COMBOATTACK1;
+ specialeffect(EF_COMBOATTACK1, AREA, playerattached());
close;
}
@@ -1136,7 +1136,7 @@ tha_t04,195,195,0 script Rune Device#tt2 HIDDEN_NPC,3,3,{
mes "It suddenly shakes, then disappears.";
thana_tower = 6;
changequest 7049,7050;
- specialeffect2 EF_COMBOATTACK1;
+ specialeffect(EF_COMBOATTACK1, AREA, playerattached());
close;
}
}
@@ -1241,7 +1241,7 @@ tha_t05,62,179,0 script Brilliant Statue#tt3 HIDDEN_NPC,3,3,{
mes "The illusion shakes, then melts on the surface of the key as light.";
thana_tower = 7;
changequest 7050,7051;
- specialeffect2 EF_COMBOATTACK1;
+ specialeffect(EF_COMBOATTACK1, AREA, playerattached());
close;
case 2:
mes "You decide to ignore it.";
@@ -1508,8 +1508,8 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
mes "and fades into the key.";
thana_tower = 8;
changequest 7051,7052;
- specialeffect2 EF_BEGINSPELL6;
- specialeffect2 EF_SPELLBREAKER;
+ specialeffect(EF_BEGINSPELL6, AREA, playerattached());
+ specialeffect(EF_SPELLBREAKER, AREA, playerattached());
close;
case 2:
mes "It was too intense to see the hallucination, so you gave up reading.";
@@ -1540,7 +1540,7 @@ tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{
if ((countitem(Key_Red) > 0) && (countitem(Key_Yellow) > 0) && (countitem(Key_Blue) > 0) && (countitem(Key_Green) > 0)) {
mes "As you approach, the keys in your pocket";
mes "suddenly respond with a mysterious power.";
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
next;
if(select("Observe it.", "Ignore it.") == 2) {
mes "^3355FFYou decide to leave";
@@ -1555,7 +1555,7 @@ tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{
case 1:
mes "By an unknown calling you decide to grab the blade of the sword.";
mes "Your hands get wounded and begin to bleed.";
- specialeffect2 EF_HIT1;
+ specialeffect(EF_HIT1, AREA, playerattached());
percentheal -20,0;
close;
case 2:
@@ -1572,7 +1572,7 @@ tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{
mes "Numerous conflicting spells act upon it, and you can tell that you chose incorrectly.";
mes "The sword automatically returns to the table, as it was before.";
specialeffect EF_HIT1;
- specialeffect2 EF_HIT1;
+ specialeffect(EF_HIT1, AREA, playerattached());
percentheal -20,0;
close;
case 2:
@@ -1816,7 +1816,7 @@ tha_t12,161,57,0 script Gold Religious Statue#tt HIDDEN_NPC,{
mes "The sword appears to be missing a gem.";
mes "As I draw closer to the statue, the Yellow Charm Stone emits a bright light.";
specialeffect EF_BEGINSPELL5;
- specialeffect2 EF_BEGINSPELL5;
+ specialeffect(EF_BEGINSPELL5, AREA, playerattached());
next;
if(select("Insert the Yellow Charm Stone.", "Run away.") == 2) close;
if ($@thana_summon == 0) {
@@ -1846,7 +1846,7 @@ tha_t12,154,17,0 script Green Wiseman Statue#tt HIDDEN_NPC,{
mes "The wiseman's wand seems to be missing a gem.";
mes "As I draw closer to the statue, the Green Charm Stone emits a bright light.";
specialeffect EF_BEGINSPELL4;
- specialeffect2 EF_BEGINSPELL4;
+ specialeffect(EF_BEGINSPELL4, AREA, playerattached());
next;
if(select("Insert the Green Charm Stone.", "Run away.") == 2) close;
if ($@thana_summon == 1) {
@@ -1876,7 +1876,7 @@ tha_t12,103,17,0 script Blue Angel Statue#tt HIDDEN_NPC,{
mes "A gem seems to be missing from the statue's belt.";
mes "As I draw closer to the statue, the Blue Charm Stone emits a bright light.";
specialeffect EF_BEGINSPELL2;
- specialeffect2 EF_BEGINSPELL2;
+ specialeffect(EF_BEGINSPELL2, AREA, playerattached());
next;
if(select("Insert the Blue Charm Stone.", "Run away.") == 2) close;
if ($@thana_summon == 2) {
@@ -1906,7 +1906,7 @@ tha_t12,96,57,0 script Bloody Knight Statue#tt HIDDEN_NPC,{
mes "A gem seems to be missing from the heart area of its armor.";
mes "As I draw closer to the statue, the Red Charm Stone emits a bright light.";
specialeffect EF_BEGINSPELL3;
- specialeffect2 EF_BEGINSPELL3;
+ specialeffect(EF_BEGINSPELL3, AREA, playerattached());
next;
if(select("Insert the Red Charm Stone.", "Run away.") == 2) close;
if ($@thana_summon == 3) {
@@ -1936,7 +1936,7 @@ tha_t12,129,86,0 script Dark Devil Statue#tt HIDDEN_NPC,{
mes "The right eye seems to be missing a gem.";
mes "As I draw closer to the statue, the Black Charm Stone emits a bright light.";
specialeffect EF_BEGINSPELL7;
- specialeffect2 EF_BEGINSPELL7;
+ specialeffect(EF_BEGINSPELL7, AREA, playerattached());
next;
if(select("Insert the Black Charm Stone.", "Run away.") == 2) close;
if ($@thana_summon == 4) {
@@ -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:
diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt
index cf593eaae..3b642ef3b 100644
--- a/npc/quests/the_sign_quest.txt
+++ b/npc/quests/the_sign_quest.txt
@@ -7387,7 +7387,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
next;
sign_q = 71;
getitem Stars_Sob,1;
- specialeffect2 EF_YUFITELHIT;
+ specialeffect(EF_YUFITELHIT, AREA, playerattached());
next;
mes "[Engel]";
mes "This was one of the most difficult jobs I've ever done. But look! It was beautiful when broken in fragments but now it's absolutely dazzling! This was really worth my effort.";
@@ -7507,7 +7507,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
else if (countitem(Emperium_Anvil) > 0) delitem Emperium_Anvil,1;
sign_q = 71;
getitem Stars_Sob,1;
- specialeffect2 EF_YUFITELHIT;
+ specialeffect(EF_YUFITELHIT, AREA, playerattached());
close;
}
else {
@@ -7939,7 +7939,7 @@ um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{
mes "Get out here right now!";
close2;
percentheal -30,0;
- specialeffect2 EF_MAGNUMBREAK;
+ specialeffect(EF_MAGNUMBREAK, AREA, playerattached());
end;
}
}
@@ -8004,7 +8004,7 @@ um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{
mes "make me get violent...";
next;
percentheal -30,0;
- specialeffect2 EF_MAGNUMBREAK;
+ specialeffect(EF_MAGNUMBREAK, AREA, playerattached());
next;
warp "umbala",111,121;
end;
@@ -8166,7 +8166,7 @@ OnTouch:
mes "["+strcharinfo(PC_NAME)+"]";
mes "What the...?";
mes "What's happening?!";
- specialeffect2 EF_BEGINSPELL6;
+ specialeffect(EF_BEGINSPELL6, AREA, playerattached());
next;
mes "^3355FFFor some reason, in";
mes "this particular spot, the";
@@ -8175,14 +8175,14 @@ OnTouch:
mes "and Coral Reefs that you're";
mes "holding. All the objects are";
mes "violently resonating...^000000";
- specialeffect2 EF_ENHANCE;
+ specialeffect(EF_ENHANCE, AREA, playerattached());
next;
mes "^3355FFAll of a sudden these";
mes "objects emit a bright flash";
mes "of light that envelops your";
mes "entire body, then you gently";
mes "fall into unconsciousness...^000000";
- specialeffect2 EF_FLASHER;
+ specialeffect(EF_FLASHER, AREA, playerattached());
next;
delitem Resin,4;
delitem Stone_Heart,12;
@@ -12289,7 +12289,7 @@ geffen,119,48,0 script Fountain#s HIDDEN_NPC,{
mes "a strange light begins to emit from the Lucifer's Lament in your pocket and from something deep within";
mes "the fountain's water.^000000";
specialeffect EF_LEVEL99;
- specialeffect2 EF_LEVEL99;
+ specialeffect(EF_LEVEL99, AREA, playerattached());
next;
switch(select("Throw Lucifer's Lament into the fountain.", "Ignore the light.")) {
case 1: