summaryrefslogtreecommitdiff
path: root/npc/quests/skills/rogue_skills.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests/skills/rogue_skills.txt')
-rw-r--r--npc/quests/skills/rogue_skills.txt260
1 files changed, 59 insertions, 201 deletions
diff --git a/npc/quests/skills/rogue_skills.txt b/npc/quests/skills/rogue_skills.txt
index 8b804e0cd..7f12d3d2e 100644
--- a/npc/quests/skills/rogue_skills.txt
+++ b/npc/quests/skills/rogue_skills.txt
@@ -1,21 +1,20 @@
-//===== rAthena Script =======================================
+//===== Hercules Script ======================================
//= Rogue Skills Quests
-//===== By: ==================================================
+//===== By: ==================================================
//= Lupus, Reddozen
-//===== Current Version: =====================================
-//= 1.7
-//===== Compatible With: =====================================
-//= rAthena SVN
-//===== Description: =========================================
-//= [Aegis Conversion]
+//===== Current Version: =====================================
+//= 1.8
+//===== Description: =========================================
+//= [Official Conversion]
//= Quests for skills: CLose Confine
-//===== Additional Comments: =================================
+//===== Additional Comments: =================================
//= 1.4 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf]
//= 1.5 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf]
//= 1.6 Bug fixes as pointed out by Brainstorm in bugreport:351 [L0ne_W0lf]
//= 1.6a Fixed(?) antoher problem (NPCs not disabling) hopefully. [L0ne_W0lf]
//= 1.6b Corrected a Typo error with "rouge". (bugreport:909) [Samuray22]
//= 1.7 Replaced effect numerics with constants. [L0ne_W0lf]
+//= 1.8 Some cleaning. [Euphy]
//============================================================
in_rogue,359,177,0 script #killershow01 -1,{
@@ -47,7 +46,7 @@ OnTimer150000:
end;
}
-in_rogue,357,174,2 script Killer#Rogueguild 705,1,1,{
+in_rogue,357,174,2 script Killer#Rogueguild 4_M_GEF_SOLDIER,1,1,{
OnInit:
disablenpc "Killer#Rogueguild";
end;
@@ -85,80 +84,28 @@ OnTouch:
mes "yellow. If he intends to go";
mes "backward, it will be pale red.";
next;
- while(1) {
- if (.@lim_1 == 10) {
- break;
+ setarray .@Effects[1],EF_CHANGECOLD,EF_CHANGEWIND,EF_CHANGEEARTH;
+ for(set .@lim_1,0; .@lim_1<10; set .@lim_1,.@lim_1+1) {
+ set .@move_1,rand(1,3);
+ specialeffect .@Effects[.@move_1];
+ if (select("Block him to the Left:Block him to the Right:Block his Retreat") == .@move_1) {
+ mes "^3355FFThe killer remains";
+ mes "unable to move and looks";
+ mes "incredibly confused! Right";
+ mes "now, you're using the Close";
+ mes "Confine skill perfectly!^000000";
+ specialeffect EF_POTION1;
+ specialeffect2 EF_POTION7;
}
else {
- set .@lim_1,.@lim_1 + 1;
- set .@move_1,rand(1,3);
- if (.@move_1 == 1) {
- specialeffect EF_CHANGECOLD;
- if (select("Block him to the Left:Block him to the Right:Block his Retreat") == 1) {
- mes "^3355FFThe killer remains";
- mes "unable to move and looks";
- mes "incredibly confused! Right";
- mes "now, you're using the Close";
- mes "Confine skill perfectly!^000000";
- specialeffect EF_POTION1;
- specialeffect2 EF_POTION7;
- next;
- }
- else {
- mes "^3355FFWait--!";
- mes "For some reason,";
- mes "you sense that's not";
- mes "the direction the killer";
- mes "is moving at this moment.";
- mes "You naturally correct yourself.^000000";
- next;
- }
- }
- else if (.@move_1 == 2) {
- specialeffect EF_CHANGEWIND;
- if (select("Block him at the Left:Block him at the Right:Block him at the back") == 2) {
- mes "^3355FFThe killer remains";
- mes "unable to move and looks";
- mes "incredibly confused! Right";
- mes "now, you're using the Close";
- mes "Confine skill perfectly!^000000";
- specialeffect EF_POTION1;
- specialeffect2 EF_POTION7;
- next;
- }
- else {
- mes "^3355FFWait--!";
- mes "For some reason,";
- mes "you sense that's not";
- mes "the direction the killer";
- mes "is moving at this moment.";
- mes "You naturally correct yourself.^000000";
- next;
- }
- }
- else if (.@move_1 == 3) {
- specialeffect EF_CHANGEEARTH;
- if (select("Block him at the Left:Block him at the Right:Block him at the back") == 3) {
- mes "^3355FFThe killer remains";
- mes "unable to move and looks";
- mes "incredibly confused! Right";
- mes "now, you're using the Close";
- mes "Confine skill perfectly!^000000";
- specialeffect EF_POTION1;
- specialeffect2 EF_POTION7;
- next;
- }
- else {
- mes "^3355FFWait--!";
- mes "For some reason,";
- mes "you sense that's not";
- mes "the direction the killer";
- mes "is moving at this moment.";
- mes "You naturally correct yourself.^000000";
- next;
- }
- }
+ mes "^3355FFWait--!";
+ mes "For some reason,";
+ mes "you sense that's not";
+ mes "the direction the killer";
+ mes "is moving at this moment.";
+ mes "You naturally correct yourself.^000000";
}
+ next;
}
mes "^3355FFYou successfully";
mes "retrieved the priceless";
@@ -182,7 +129,7 @@ OnTouch:
end;
}
-in_rogue,355,179,0 script Haijara Greg#rogueguild 46,{
+in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{
if (BaseJob == Job_Rogue) {
if (ROG_SK == 12 && Upper == 1) {
mes "[Haijara Greg]";
@@ -592,7 +539,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 46,{
}
}
-in_rogue,152,29,0 script Louis Greg#rogueguild 84,{
+in_rogue,152,29,0 script Louis Greg#rogueguild 4_M_02,{
if (BaseJob == Job_Rogue || Class == Job_Thief_High) {
if (ROG_SK < 1) {
mes "[Louis Greg]";
@@ -747,7 +694,7 @@ in_rogue,152,29,0 script Louis Greg#rogueguild 84,{
close;
}
-in_rogue,268,125,2 script Thor Greg#rogueguild 86,{
+in_rogue,268,125,2 script Thor Greg#rogueguild 4_M_04,{
if (BaseJob == Job_Rogue || Class == Job_Thief_High) {
if (ROG_SK < 1) {
mes "[Thor Greg]";
@@ -939,7 +886,7 @@ in_rogue,268,125,2 script Thor Greg#rogueguild 86,{
close;
}
-in_rogue,181,114,3 script Jay Greg#rogueguild 85,{
+in_rogue,181,114,3 script Jay Greg#rogueguild 4_M_03,{
if (BaseJob == Job_Rogue || Class == Job_Thief_High) {
if (ROG_SK < 1) {
mes "[Jay Greg]";
@@ -1204,61 +1151,19 @@ OnDisable:
end;
}
-prt_are01,149,162,0 script Kienna#1st 700,1,1,{
+prt_are01,149,162,0 script Kienna#1st 8_F_GIRL,1,1,{
end;
OnTouch:
- callfunc "F_Kienna","1st";
- end;
-}
-
-prt_are01,136,150,0 script Kienna#2nd 700,1,1,{
- end;
-OnTouch:
- callfunc "F_Kienna","2nd";
- end;
-}
-
-prt_are01,150,138,0 script Kienna#3rd 700,1,1,{
- end;
-OnTouch:
- callfunc "F_Kienna","3rd";
- end;
-}
-
-prt_are01,163,147,0 script Kienna#4th 700,1,1,{
- end;
-OnTouch:
- callfunc "F_Kienna","4th";
- end;
-}
-
-prt_are01,134,140,0 script Kienna#5th 700,1,1,{
- end;
-OnTouch:
- callfunc "F_Kienna","5th";
- end;
-}
-
-prt_are01,161,140,0 script Kienna#6th 700,1,1,{
- end;
-OnTouch:
- callfunc "F_Kienna","6th";
- end;
-}
-
-prt_are01,161,160,0 script Kienna#7th 700,1,1,{
- end;
-OnTouch:
- callfunc "F_Kienna","7th";
- end;
-}
-
-prt_are01,138,159,0 script Kienna#8th 700,1,1,{
- end;
-OnTouch:
- callfunc "F_Kienna","8th";
+ callfunc "F_Kienna",strnpcinfo(2);
end;
}
+prt_are01,136,150,0 duplicate(Kienna#1st) Kienna#2nd 8_F_GIRL,1,1
+prt_are01,150,138,0 duplicate(Kienna#1st) Kienna#3rd 8_F_GIRL,1,1
+prt_are01,163,147,0 duplicate(Kienna#1st) Kienna#4th 8_F_GIRL,1,1
+prt_are01,134,140,0 duplicate(Kienna#1st) Kienna#5th 8_F_GIRL,1,1
+prt_are01,161,140,0 duplicate(Kienna#1st) Kienna#6th 8_F_GIRL,1,1
+prt_are01,161,160,0 duplicate(Kienna#1st) Kienna#7th 8_F_GIRL,1,1
+prt_are01,138,159,0 duplicate(Kienna#1st) Kienna#8th 8_F_GIRL,1,1
function script F_Kienna {
if (ROG_SK == 6) {
@@ -1272,71 +1177,24 @@ function script F_Kienna {
mes "immobilizing me. Get ready~";
set ROG_SK,7;
next;
- while(1) {
- if (.@lim_1 == 10) {
- break;
+ for(set .@lim_1,0; .@lim_1<10; set .@lim_1,.@lim_1+1) {
+ set .@move_1,rand(1,3);
+ if (select("Block her to the Left:Block her to the Right:Block her retreat") == .@move_1) {
+ mes "[Kienna]";
+ mes "Huh...?";
+ mes "You blocked me!";
+ mes "Very nice work~";
+ specialeffect EF_POTION1;
+ specialeffect2 EF_POTION7;
+ set .@suc_1,.@suc_1 + 1;
}
else {
- set .@lim_1,.@lim_1 + 1;
- set .@move_1,rand(1,3);
- if (.@move_1 == 1) {
- if (select("Block her to the Left:Block her to the Right:Block her retreat") == 1) {
- mes "[Kienna]";
- mes "Huh...?";
- mes "You blocked me!";
- mes "Very nice work~";
- specialeffect 204; //EF_POTION1
- specialeffect2 210; // EF_POTION7
- set .@suc_1,.@suc_1 + 1;
- next;
- }
- else {
- mes "[Kienna]";
- mes "Sorry, but I wasn't";
- mes "moving in that direction.";
- mes "Your block attempt failed...";
- next;
- }
- }
- else if (.@move_1 == 2) {
- if (select("Block her to the Left:Block her to the Right:Block her retreat") == 2) {
- mes "[Kienna]";
- mes "Huh...?";
- mes "You blocked me!";
- mes "Very nice work~";
- specialeffect 204; //EF_POTION1
- specialeffect2 210; // EF_POTION7
- set .@suc_1,.@suc_1 + 1;
- next;
- }
- else {
- mes "[Kienna]";
- mes "Sorry, but I wasn't";
- mes "moving in that direction.";
- mes "Your block attempt failed...";
- next;
- }
- }
- else if (.@move_1 == 3) {
- if (select("Block her to the Left:Block her to the Right:Block her retreat") == 3) {
- mes "[Kienna]";
- mes "Huh...?";
- mes "You blocked me!";
- mes "Very nice work~";
- specialeffect 204; //EF_POTION1
- specialeffect2 210; // EF_POTION7
- set .@suc_1,.@suc_1 + 1;
- next;
- }
- else {
- mes "[Kienna]";
- mes "Sorry, but I wasn't";
- mes "moving in that direction.";
- mes "Your block attempt failed...";
- next;
- }
- }
+ mes "[Kienna]";
+ mes "Sorry, but I wasn't";
+ mes "moving in that direction.";
+ mes "Your block attempt failed...";
}
+ next;
}
mes "[Kienna]";
mes "Alright, we're done";
@@ -1478,7 +1336,7 @@ OnInit:
end;
}
-in_rogue,88,119,3 script Waiting Room#rogue10 828,{
+in_rogue,88,119,3 script Waiting Room#rogue10 4_M_ROGUE,{
OnEnable:
enablenpc "Waiting Room#rogue10";
enablewaitingroomevent "Waiting Room#rogue10";
@@ -1495,9 +1353,9 @@ OnStartArena:
end;
}
-//============================================================
+//============================================================
// Old changelog
-//============================================================
+//============================================================
//= 1.0 for fully working skills only [Lupus]
//= 1.1 Added more new skill quests for more classes [Lupus]
//= Somehow eA engine doesn't let you keep learn't skill V_V'