summaryrefslogtreecommitdiff
path: root/npc/re/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/jobs')
-rw-r--r--npc/re/jobs/2e/kagerou_oboro.txt10
-rw-r--r--npc/re/jobs/3-1/archbishop.txt18
-rw-r--r--npc/re/jobs/3-1/guillotine_cross.txt8
-rw-r--r--npc/re/jobs/3-1/ranger.txt8
-rw-r--r--npc/re/jobs/3-1/rune_knight.txt4
-rw-r--r--npc/re/jobs/3-1/warlock.txt2
-rw-r--r--npc/re/jobs/3-2/royal_guard.txt6
-rw-r--r--npc/re/jobs/novice/academy.txt46
-rw-r--r--npc/re/jobs/novice/novice.txt4
-rw-r--r--npc/re/jobs/novice/supernovice_ex.txt8
-rw-r--r--npc/re/jobs/repair.txt2
11 files changed, 58 insertions, 58 deletions
diff --git a/npc/re/jobs/2e/kagerou_oboro.txt b/npc/re/jobs/2e/kagerou_oboro.txt
index 08f8d6024..a77ed1390 100644
--- a/npc/re/jobs/2e/kagerou_oboro.txt
+++ b/npc/re/jobs/2e/kagerou_oboro.txt
@@ -1662,7 +1662,7 @@ OnTouch:
next;
switch(select("Try something.", "Do nothing.")) {
case 1:
- specialeffect2 EF_TALK_FROSTJOKE;
+ specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
mes "Tried a recent Prontera joke to do something.";
next;
setquest 5141;
@@ -2347,7 +2347,7 @@ job_ko,131,124,0 script Crafting Tools#ko_01 CLEAR_NPC,{
if (.@success_pp != 44) set .@success,1;
}
if (.@success) {
- specialeffect2 EF_PERFECTION;
+ specialeffect(EF_PERFECTION, AREA, playerattached());
erasequest 5142;
if (.@weapon_who == 0) {
setquest 5143;
@@ -2361,7 +2361,7 @@ job_ko,131,124,0 script Crafting Tools#ko_01 CLEAR_NPC,{
mes "Let's take it to Red Leopard Joe.";
close;
} else {
- specialeffect2 EF_SUI_EXPLOSION;
+ specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
mes "The weapon was destroyed while doing the finishing touches to it.";
next;
mes "There must have been something missed while creating the weapon. Very sad this happened but you'll have to start all over again.";
@@ -2380,11 +2380,11 @@ L_ForgeWeapon:
set .@i, select("Grind the weapon", "Temper the weapon" + getarg(0));
switch (.@i) {
case 1:
- specialeffect2 EF_DETOXICATION;
+ specialeffect(EF_DETOXICATION, AREA, playerattached());
mes "Ground the weapon.";
break;
case 2:
- specialeffect2 EF_REPAIRWEAPON;
+ specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
mes "Tempered the weapon.";
break;
case 3:
diff --git a/npc/re/jobs/3-1/archbishop.txt b/npc/re/jobs/3-1/archbishop.txt
index 1a03af44c..bc83b8c81 100644
--- a/npc/re/jobs/3-1/archbishop.txt
+++ b/npc/re/jobs/3-1/archbishop.txt
@@ -469,7 +469,7 @@ OnTouch:
mes "- You close your eyes slowly and take a deep breath. -";
next;
mes "- * BLESSING! * -";
- specialeffect2 EF_BLESSING;
+ specialeffect(EF_BLESSING, AREA, playerattached());
next;
mes "Your mind is refreshed with the blessing effect.";
mes "You continue to meditate trying to rid your mind of any ill feelings.";
@@ -525,9 +525,9 @@ OnTouch:
mes "- You bow respectfully holding up a Holy Water and put the glass to your lips. -";
next;
mes "- * ASPERSIO ! * -";
- specialeffect2 EF_ASPERSIO;
+ specialeffect(EF_ASPERSIO, AREA, playerattached());
next;
- specialeffect2 EF_RECOVERY;
+ specialeffect(EF_RECOVERY, AREA, playerattached());
mes ".............................";
next;
mes ".............................";
@@ -546,7 +546,7 @@ OnTouch:
next;
mes "- You breath in deep and start to sing a Gloria.";
mes "A chord crashes out in the spring of Hvergelmir and a waterfall sound gives you a refreshing feeling. -";
- specialeffect2 EF_GLORIA;
+ specialeffect(EF_GLORIA, AREA, playerattached());
next;
mes "[" + strcharinfo(PC_NAME) + "]";
mes "~Descendants of Heimdal gather under the Ash tree Yggdrasil.~";
@@ -554,7 +554,7 @@ OnTouch:
next;
mes "[" + strcharinfo(PC_NAME) + "]";
mes "~The Curdan wolf protects me from all threats in the world.~";
- specialeffect2 EF_GLORIA;
+ specialeffect(EF_GLORIA, AREA, playerattached());
next;
mes "[" + strcharinfo(PC_NAME) + "]";
mes "~The host of ballascalf, rise up from your seat. The whole world shouts for joy.~";
@@ -562,11 +562,11 @@ OnTouch:
next;
mes "[" + strcharinfo(PC_NAME) + "]";
mes "~The host of a glittering glass, give me a holy prediction.~";
- specialeffect2 EF_GLORIA;
+ specialeffect(EF_GLORIA, AREA, playerattached());
next;
mes "- After you finish the song, you feel light and strong with abundant devotion. -";
- specialeffect2 EF_BLESSING;
- specialeffect2 EF_RESURRECTION;
+ specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect(EF_RESURRECTION, AREA, playerattached());
next;
mes "[" + strcharinfo(PC_NAME) + "]";
mes "That was refreshing.";
@@ -749,7 +749,7 @@ odin_tem02,281,275,3 script Valkyrie Illusion#arch 4_F_VALKYRIE2,{
case 1:
mes "You lose your consciousness while getting a closer view of Valkyrie's Illusion.";
close2;
- specialeffect2 EF_CLOAKING;
+ specialeffect(EF_CLOAKING, AREA, playerattached());
warp "job3_arch01",29,29;
hideonnpc "Valkyrie Illusion#arch";
end;
diff --git a/npc/re/jobs/3-1/guillotine_cross.txt b/npc/re/jobs/3-1/guillotine_cross.txt
index f70ee321c..19f4ac7cf 100644
--- a/npc/re/jobs/3-1/guillotine_cross.txt
+++ b/npc/re/jobs/3-1/guillotine_cross.txt
@@ -300,7 +300,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
case 3:
mes "[Daora]";
mes "Don't show me your nervousness!";
- specialeffect2 EF_HIT1;
+ specialeffect(EF_HIT1, AREA, playerattached());
percentheal -30,0;
close;
case 4:
@@ -355,7 +355,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
mes "[Daora]";
mes "Don't talk to me like I'm one of your friends!";
mes "You have no right to be that way!";
- specialeffect2 EF_HIT1;
+ specialeffect(EF_HIT1, AREA, playerattached());
percentheal -30,0;
close;
}
@@ -746,7 +746,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
case 2:
mes "[Daora]";
mes "An impertinent fellow!";
- specialeffect2 EF_HIT1;
+ specialeffect(EF_HIT1, AREA, playerattached());
percentheal -30,0;
close;
}
@@ -857,7 +857,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
case 3:
mes "[Daora]";
mes "Don't show me your nervousness!";
- specialeffect2 EF_HIT1;
+ specialeffect(EF_HIT1, AREA, playerattached());
percentheal -30,0;
close;
}
diff --git a/npc/re/jobs/3-1/ranger.txt b/npc/re/jobs/3-1/ranger.txt
index 78e200843..41e5b476f 100644
--- a/npc/re/jobs/3-1/ranger.txt
+++ b/npc/re/jobs/3-1/ranger.txt
@@ -979,7 +979,7 @@ OnReset:
killmonster "job3_rang02","CallCorrectAnswer#jr::OnMyMobDead";
end;
OnMyMobDead:
- specialeffect2 EF_POTION_CON;
+ specialeffect(EF_POTION_CON, AREA, playerattached());
++$@job_rang_point01;
mapannounce "job3_rang02","Test Supervisor, Notice : Correct Target! You have very good eyesight!",bc_map,"0xffb6c1"; //FW_NORMAL 12 0 0
end;
@@ -1069,7 +1069,7 @@ OnReset:
killmonster "job3_rang02","CallWrongAnswer#jr::OnMyMobDead";
end;
OnMyMobDead:
- specialeffect2 EF_DEVIL;
+ specialeffect(EF_DEVIL, AREA, playerattached());
--$@job_rang_point01;
mapannounce "job3_rang02","Test Supervisor, Notice : Wrong Target! Pull yourself together!",bc_map,"0xffb6c1"; //FW_NORMAL 12 0 0
end;
@@ -1186,7 +1186,7 @@ job3_rang02,111,56,3 script Staff Rust#jr_09 4_M_ORIENT02,{
if (job_ranger01 == 6) {
if (countitem(Bombring_Box) < 1) {
percentheal 100,0;
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
mes "[Staff Rust]";
mes "I'll give you the 'Bombring Capsules.";
mes "The 'Bombring Capsules' can be given again only for the one who used it all, so please keep that in mind.";
@@ -1269,7 +1269,7 @@ OnDisable:
end;
OnTouch:
percentheal 10,0;
- specialeffect2 EF_ABSORBSPIRITS;
+ specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
mapannounce "job3_rang02","Test Supervisor, Caution : You are doing well! If you come closer a little more, you should be able to see me.",bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
end;
OnMyMobDead:
diff --git a/npc/re/jobs/3-1/rune_knight.txt b/npc/re/jobs/3-1/rune_knight.txt
index caa540585..ad8ab8f74 100644
--- a/npc/re/jobs/3-1/rune_knight.txt
+++ b/npc/re/jobs/3-1/rune_knight.txt
@@ -1837,7 +1837,7 @@ job3_rune02,34,46,5 script Captain Tigris#jrt1 4_M_KNIGHT_SILVER,2,2,{
break;
case 3:
mapannounce "job3_rune02","Captain Tigris : Evil demons! I will send you back to your graves!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
- specialeffect2 EF_METEORSTORM;
+ specialeffect(EF_METEORSTORM, AREA, playerattached());
donpcevent "job_rune_edq#1st_tcmc::OnReset";
break;
case 4:
@@ -1928,7 +1928,7 @@ job3_rune02,43,34,1 script Rune Knight Renoa#jrt1 4_M_KNIGHT_GOLD,2,2,{
break;
case 3:
mapannounce "job3_rune02","Rune Knight Renoa : I am faster than all of them! Different then the others!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
- specialeffect2 EF_PIERCESELF;
+ specialeffect(EF_PIERCESELF, AREA, playerattached());
donpcevent "job_rune_edq#1st_tcmc::OnReset";
break;
case 4:
diff --git a/npc/re/jobs/3-1/warlock.txt b/npc/re/jobs/3-1/warlock.txt
index 137eefd40..13f99013b 100644
--- a/npc/re/jobs/3-1/warlock.txt
+++ b/npc/re/jobs/3-1/warlock.txt
@@ -136,7 +136,7 @@ function script F_Warlock {
next;
mes " - The fairy with the green hair chants a spell. - ";
mes " - I feel like something special surrounds me. - ";
- specialeffect2 EF_DISPELL;
+ specialeffect(EF_DISPELL, AREA, playerattached());
next;
mes "[Master]";
mes "Oh, that's interesting.";
diff --git a/npc/re/jobs/3-2/royal_guard.txt b/npc/re/jobs/3-2/royal_guard.txt
index 7fe7a1d2a..87cf554ad 100644
--- a/npc/re/jobs/3-2/royal_guard.txt
+++ b/npc/re/jobs/3-2/royal_guard.txt
@@ -441,9 +441,9 @@ glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{
mes "Congratulations! Young Royal Guard.";
mes "Be a symbol of honor and continue the great tradition of your new name.";
close2;
- specialeffect2 EF_MAPPILLAR;
+ specialeffect(EF_MAPPILLAR, AREA, playerattached());
progressbar "FFFF00",7;
- specialeffect2 EF_LORD;
+ specialeffect(EF_LORD, AREA, playerattached());
delitem King_Shield,1;
erasequest 12094;
jobchange roclass(eaclass()|EAJL_THIRD);
@@ -499,7 +499,7 @@ gl_church,158,100,0 script #Clue of traces HIDDEN_NPC,4,4,{
end;
OnTouch:
if (job_royal == 4 && countitem(Saint_Cloth_Piece) == 0) {
- specialeffect2 EF_FREEZE;
+ specialeffect(EF_FREEZE, AREA, playerattached());
mes "I can feel strong power around here. It would be better to explore around here.";
viewpoint 1,173,88 ,1, 0xFFFF00;
viewpoint 1,158,103,2, 0xFFFF00;
diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt
index bee91f382..853c124d9 100644
--- a/npc/re/jobs/novice/academy.txt
+++ b/npc/re/jobs/novice/academy.txt
@@ -44,7 +44,7 @@
iz_int,18,26,0 script startpoint HIDDEN_WARP_NPC,1,1,{
OnTouch:
if (!izintspawn) {
- specialeffect2(EF_ANGEL3); // On official it is some kind of Poring Angel, but I can't find it
+ specialeffect(EF_ANGEL3, AREA, playerattached()); // On official it is some kind of Poring Angel, but I can't find it
navigateto("int_land", NAV_NONE, 1); // individual map name not required
izintspawn = 1;
}
@@ -135,11 +135,11 @@ int_land,58,69,5 script Sailor#int_land 4W_SAILOR,{
mes("[Sailor]");
mes("If you want to sail with us to Izlude, jump on board!");
getexp(600, 0);
- specialeffect2(EF_HEAL2);
+ specialeffect(EF_HEAL2, AREA, playerattached());
heal(9999, 0);
- specialeffect2(EF_INCAGILITY);
+ specialeffect(EF_INCAGILITY, AREA, playerattached());
sc_start(SC_INC_AGI, 240000, 10);
- specialeffect2(EF_BLESSING);
+ specialeffect(EF_BLESSING, AREA, playerattached());
sc_start(SC_BLESSING, 240000, 10);
next();
mes("[Sailor]");
@@ -212,11 +212,11 @@ int_land,78,103,5 script Captain Carocc#int_land 4_M_REINDEER,{
mes("It is hard, but you look tough enough for this task.");
if (questprogress(21001) == 1)
completequest(21001);
- specialeffect2(EF_HEAL2);
+ specialeffect(EF_HEAL2, AREA, playerattached());
heal(9999, 0);
- specialeffect2(EF_INCAGILITY);
+ specialeffect(EF_INCAGILITY, AREA, playerattached());
sc_start(SC_INC_AGI, 240000, 10);
- specialeffect2(EF_BLESSING);
+ specialeffect(EF_BLESSING, AREA, playerattached());
sc_start(SC_BLESSING, 240000, 10);
getexp(600, 0);
setquest(21002);
@@ -241,11 +241,11 @@ int_land,78,103,5 script Captain Carocc#int_land 4_M_REINDEER,{
close();
case 1:
mes("[Captain Carocc]");
- specialeffect2(EF_HEAL2);
+ specialeffect(EF_HEAL2, AREA, playerattached());
heal(9999, 0);
- specialeffect2(EF_INCAGILITY);
+ specialeffect(EF_INCAGILITY, AREA, playerattached());
sc_start(SC_INC_AGI, 240000, 10);
- specialeffect2(EF_BLESSING);
+ specialeffect(EF_BLESSING, AREA, playerattached());
sc_start(SC_BLESSING, 240000, 10);
mes("^4d4dffThe Ship^000000 anchored in the southwest. It will take you to Izlude.");
mes("Don't forget to ^4d4dffget some Lumber^000000 for the ship.");
@@ -2133,8 +2133,8 @@ iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{
mes("[Therapist]");
mes("Recovery ratio is very minimal...");
mes("It can help you avoid dying but won't give you much HP.");
- specialeffect2(EF_BEGINSPELL6);
- specialeffect2(EF_SPELLBREAKER);
+ specialeffect(EF_BEGINSPELL6, AREA, playerattached());
+ specialeffect(EF_SPELLBREAKER, AREA, playerattached());
next();
mes("[Therapist]");
mes("Press ^4d4dffALT + S^000000 to open your Skill window to see your skills.");
@@ -3318,7 +3318,7 @@ iz_ac01,36,52,3 script Odd Novice#ac 4_M_SIT_NOVICE,{
mes("[Odd Novice]");
mes("OK. Where should I start?");
mes("First, Bash!");
- specialeffect2(EF_BASH);
+ specialeffect(EF_BASH, AREA, playerattached());
next();
mes("[Odd Novice]");
mes("Hehehe.. Surprised?");
@@ -3327,13 +3327,13 @@ iz_ac01,36,52,3 script Odd Novice#ac 4_M_SIT_NOVICE,{
next();
mes("[Odd Novice]");
mes("Looks like you were surprised!");
- specialeffect2(EF_BLESSING);
+ specialeffect(EF_BLESSING, AREA, playerattached());
next();
mes("[Odd Novice]");
mes("Just keep calm");
mes("and have a potion");
mes("But that's not the last of it.");
- specialeffect2(EF_STEAL);
+ specialeffect(EF_STEAL, AREA, playerattached());
next();
mes("[Odd Novice]");
mes("I have stolen one thread of your hair.");
@@ -8482,7 +8482,7 @@ iz_ac02,70,85,5 script Arang#ac 4_F_TAEKWON,{
cutin("arang03", 0);
next();
mes("Suddenly, you see Arang's foot flying towards you.");
- specialeffect2(EF_TRIPLEATTACK);
+ specialeffect(EF_TRIPLEATTACK, AREA, playerattached());
emotion(e_wah, 1);
next();
cutin("", 255);
@@ -11927,8 +11927,8 @@ iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{
next();
cutin("", 255);
mes("Lumin changing clothes piece by piece.");
- specialeffect2(EF_SPHERE);
- specialeffect2(EF_SPHERE);
+ specialeffect(EF_SPHERE, AREA, playerattached());
+ specialeffect(EF_SPHERE, AREA, playerattached());
classchange(4_M_THIEF_RUMIN, 0);
next();
cutin("thf_lumin01", 2);
@@ -11941,8 +11941,8 @@ iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{
mes("Forget what you saw today, as I have to introduce to the way of Thief Guild as many people as possible.");
cutin("thf_lumin05", 2);
close2();
- specialeffect2(EF_SPHERE);
- specialeffect2(EF_SPHERE);
+ specialeffect(EF_SPHERE, AREA, playerattached());
+ specialeffect(EF_SPHERE, AREA, playerattached());
classchange(4_M_NOV_RUMIN, 0);
cutin("", 255);
end;
@@ -13775,7 +13775,7 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{
mes("[Mounds]");
mes("One! Two! Three!");
next();
- specialeffect2(EF_SANCTUARY);
+ specialeffect(EF_SANCTUARY, AREA, playerattached());
completequest(5158);
delitem(Cotton_Shirt, 1); // Cotton_Shirt
getitem(Cotton_Shirt_, 1); // Cotton_Shirt_
@@ -14036,7 +14036,7 @@ izlude,108,139,7 script Enchanter Almond J#iz 4_CAT_SAILOR3,{
mes("[Almond J]");
mes("Now!! Start the first hidden enchant!! Start!!!!!");
next();
- specialeffect2(EF_REPAIRWEAPON);
+ specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
progressbar "ffff00", 2;
completequest(5159);
delequip .@part;
@@ -14169,7 +14169,7 @@ izlude,108,139,7 script Enchanter Almond J#iz 4_CAT_SAILOR3,{
mes("[Almond J]");
mes("It is a good weapon Then!! Let's start the hidden enchant!!");
next();
- specialeffect2(EF_REPAIRWEAPON);
+ specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
progressbar "ffff00", 3;
delequip .@part;
getitem2(.@equip,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@enchant1,.@enchant2);
diff --git a/npc/re/jobs/novice/novice.txt b/npc/re/jobs/novice/novice.txt
index 6ac0d9935..18ba3fbe1 100644
--- a/npc/re/jobs/novice/novice.txt
+++ b/npc/re/jobs/novice/novice.txt
@@ -544,8 +544,8 @@ new_5-2,100,105,3 duplicate(NvBradeA) Brade#nv5a 4_M_JOB_KNIGHT1
mes "[Jinha]";
mes "It's recovery amount is small.";
mes "Still, it will help you not to faint from a critical hit.";
- specialeffect2 EF_BEGINSPELL6;
- specialeffect2 EF_SPELLBREAKER;
+ specialeffect(EF_BEGINSPELL6, AREA, playerattached());
+ specialeffect(EF_SPELLBREAKER, AREA, playerattached());
next;
mes "[Jinha]";
mes "You can open the Skill Window by pressing the ^4d4dffskill^000000 button in the Basic Window.";
diff --git a/npc/re/jobs/novice/supernovice_ex.txt b/npc/re/jobs/novice/supernovice_ex.txt
index 04c9395c1..74328278f 100644
--- a/npc/re/jobs/novice/supernovice_ex.txt
+++ b/npc/re/jobs/novice/supernovice_ex.txt
@@ -484,9 +484,9 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "I can't make you stronger until you use those points.";
close;
}
- specialeffect2 EF_LORD;
- specialeffect2 EF_SIGHTRASHER;
- specialeffect2 EF_STORMGUST;
+ specialeffect(EF_LORD, AREA, playerattached());
+ specialeffect(EF_SIGHTRASHER, AREA, playerattached());
+ specialeffect(EF_STORMGUST, AREA, playerattached());
erasequest 5100;
mes "[Nodor]";
mes "Haha ------------- !!";
@@ -586,7 +586,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "[Nodor]";
mes "Now I am going to say greetings again.";
next;
- specialeffect2 EF_RECOVERY;
+ specialeffect(EF_RECOVERY, AREA, playerattached());
mes "[Nodor]";
mes "Let Super Novice "+strcharinfo(PC_NAME)+" be blessed with the Super Novice Guardian!";
EXSUPNOV_Q = 6;
diff --git a/npc/re/jobs/repair.txt b/npc/re/jobs/repair.txt
index 2dae1bcaf..7acd3b606 100644
--- a/npc/re/jobs/repair.txt
+++ b/npc/re/jobs/repair.txt
@@ -86,7 +86,7 @@ prt_in,38,104,4 script Valerie 4_F_VALKYRIE,{
mes "I understand. I will see you next time";
close;
}
- specialeffect2 EF_INVENOM;
+ specialeffect(EF_INVENOM, AREA, playerattached());
progressbar "0xffff00",3;
// Warlock - quest items