From dc97ceb8baf6c646f16c5bed0064e5d136c1d768 Mon Sep 17 00:00:00 2001 From: j-tkay Date: Mon, 30 Jul 2012 15:26:49 +0000 Subject: Fixed Thief Platinum Skills Quest where job level requirement for Assassin and Rogue is not needed. bugreport:6373 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16537 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/pre-re/quests/skills/thief_skills.txt | 9 +++++---- npc/re/quests/skills/thief_skills.txt | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'npc') diff --git a/npc/pre-re/quests/skills/thief_skills.txt b/npc/pre-re/quests/skills/thief_skills.txt index 2de3e01ae..9a3f6bb60 100644 --- a/npc/pre-re/quests/skills/thief_skills.txt +++ b/npc/pre-re/quests/skills/thief_skills.txt @@ -13,6 +13,7 @@ //= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] //= 1.6 Fixed a Exploit for Assassins and Rogues. (bugreport:2332) [Samuray22] //= 1.7 Updated to latest available official file. [Masao] +//= 1.8 Fixed JobLevel requirement for Assassins and Rogues. [Joseph] //============================================================ moc_prydb1,154,128,4 script Alcouskou 118,{ @@ -29,7 +30,7 @@ moc_prydb1,154,128,4 script Alcouskou 118,{ case 1: switch (skill_thief_1) { case 0: - if ((countitem(7041) > 4) && (JobLevel > 24)) { + if ((countitem(7041) > 4) && ((JobLevel > 24) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) { mes "[Alcouskou]"; mes "Luckily, you have brought some"; mes "sand with you. It is very important"; @@ -151,7 +152,7 @@ moc_prydb1,154,128,4 script Alcouskou 118,{ close; } case 2: - if ((countitem(940) > 19) && (JobLevel > 34)) { + if ((countitem(940) > 19) && ((JobLevel > 34) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) { mes "[Alcouskou]"; mes "Okay! Let's practice!"; next; @@ -228,7 +229,7 @@ moc_prydb1,154,128,4 script Alcouskou 118,{ mes "If not, I cannot teach you."; close; case 3: - if ((countitem(912) > 0) && (countitem(948) > 0) && (countitem(908) > 4) && (JobLevel > 19)) { + if ((countitem(912) > 0) && (countitem(948) > 0) && (countitem(908) > 4) && ((JobLevel > 19) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) { mes "[Alcouskou]"; mes "Wow, you have already prepared?"; mes "Great, I see promise in you. -"; @@ -318,7 +319,7 @@ moc_prydb1,154,128,4 script Alcouskou 118,{ mes "Retrieve these items by any means you see fit."; close; case 4: - if ((countitem(910) > 1) && (countitem(911) > 1) && (JobLevel > 14)) { + if ((countitem(910) > 1) && (countitem(911) > 1) && ((JobLevel > 14) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) { mes "[Alcouskou]"; mes "Wow! Have you already gathered the items!"; mes "Very well, do you wish to begin?"; diff --git a/npc/re/quests/skills/thief_skills.txt b/npc/re/quests/skills/thief_skills.txt index 2de3e01ae..9a3f6bb60 100644 --- a/npc/re/quests/skills/thief_skills.txt +++ b/npc/re/quests/skills/thief_skills.txt @@ -13,6 +13,7 @@ //= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] //= 1.6 Fixed a Exploit for Assassins and Rogues. (bugreport:2332) [Samuray22] //= 1.7 Updated to latest available official file. [Masao] +//= 1.8 Fixed JobLevel requirement for Assassins and Rogues. [Joseph] //============================================================ moc_prydb1,154,128,4 script Alcouskou 118,{ @@ -29,7 +30,7 @@ moc_prydb1,154,128,4 script Alcouskou 118,{ case 1: switch (skill_thief_1) { case 0: - if ((countitem(7041) > 4) && (JobLevel > 24)) { + if ((countitem(7041) > 4) && ((JobLevel > 24) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) { mes "[Alcouskou]"; mes "Luckily, you have brought some"; mes "sand with you. It is very important"; @@ -151,7 +152,7 @@ moc_prydb1,154,128,4 script Alcouskou 118,{ close; } case 2: - if ((countitem(940) > 19) && (JobLevel > 34)) { + if ((countitem(940) > 19) && ((JobLevel > 34) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) { mes "[Alcouskou]"; mes "Okay! Let's practice!"; next; @@ -228,7 +229,7 @@ moc_prydb1,154,128,4 script Alcouskou 118,{ mes "If not, I cannot teach you."; close; case 3: - if ((countitem(912) > 0) && (countitem(948) > 0) && (countitem(908) > 4) && (JobLevel > 19)) { + if ((countitem(912) > 0) && (countitem(948) > 0) && (countitem(908) > 4) && ((JobLevel > 19) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) { mes "[Alcouskou]"; mes "Wow, you have already prepared?"; mes "Great, I see promise in you. -"; @@ -318,7 +319,7 @@ moc_prydb1,154,128,4 script Alcouskou 118,{ mes "Retrieve these items by any means you see fit."; close; case 4: - if ((countitem(910) > 1) && (countitem(911) > 1) && (JobLevel > 14)) { + if ((countitem(910) > 1) && (countitem(911) > 1) && ((JobLevel > 14) || (BaseJob == Job_Assassin || BaseJob == Job_Rogue))) { mes "[Alcouskou]"; mes "Wow! Have you already gathered the items!"; mes "Very well, do you wish to begin?"; -- cgit v1.2.3-60-g2f50