소스 검색

Fixed Thief Platinum Skills Quest where job level requirement for Assassin and Rogue is not needed. bugreport:6373

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16537 54d463be-8e91-2dee-dedb-b68131a5f0ec
j-tkay 13 년 전
부모
커밋
a6822e864b
2개의 변경된 파일10개의 추가작업 그리고 8개의 파일을 삭제
  1. 5 4
      npc/pre-re/quests/skills/thief_skills.txt
  2. 5 4
      npc/re/quests/skills/thief_skills.txt

+ 5 - 4
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?";

+ 5 - 4
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?";