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.txt246
1 files changed, 52 insertions, 194 deletions
diff --git a/npc/quests/skills/rogue_skills.txt b/npc/quests/skills/rogue_skills.txt
index 8b804e0cd..6d9034627 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,{
@@ -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";
@@ -1207,58 +1154,16 @@ OnDisable:
prt_are01,149,162,0 script Kienna#1st 700,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 700,1,1
+prt_are01,150,138,0 duplicate(Kienna#1st) Kienna#3rd 700,1,1
+prt_are01,163,147,0 duplicate(Kienna#1st) Kienna#4th 700,1,1
+prt_are01,134,140,0 duplicate(Kienna#1st) Kienna#5th 700,1,1
+prt_are01,161,140,0 duplicate(Kienna#1st) Kienna#6th 700,1,1
+prt_are01,161,160,0 duplicate(Kienna#1st) Kienna#7th 700,1,1
+prt_are01,138,159,0 duplicate(Kienna#1st) Kienna#8th 700,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";
@@ -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'