Dual class level Trandon additions.
Contributed by Liamxroy.
This commit is contained in:
		| @@ -6,4 +6,7 @@ Now, what level of certification do you want?<br> | ||||
| <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 1">"Level 90 Skill Certification."</Button> | ||||
| <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 2">"Level 95 Skill Certification."</Button> | ||||
| <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 3">"Level 99 Skill Certification."</Button> | ||||
| <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 4">"Level 101 Skill Certification."</Button> | ||||
| <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 5">"Level 103 Skill Certification."</Button> | ||||
| <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Trandon dualCertify 6">"Level 105 Skill Certification."</Button> | ||||
| </body></html> | ||||
| @@ -1,5 +1,5 @@ | ||||
| <html><body>Subclass/Dual Class Certificate Manager Trandon:<br> | ||||
| Haven't you already been certified for level <font color="LEVEL">%level%?</font><br1> | ||||
| Young ones these days...listen carefully.<br1> | ||||
| You can get <font color="LEVEL">certified a total of 4 times for the dual class - when your main and dual class levels are at 85, 90, 95, and 99.</font> | ||||
| You can get <font color="LEVEL">certified a total of 7 times for the dual class - when your main and dual class levels are at 85, 90, 95, 99, 101, 103, and 105.</font> | ||||
| </body></html> | ||||
| @@ -49,7 +49,7 @@ public final class Trandon extends AbstractNpcAI | ||||
| 	private static final int DUAL_CERTIFICATE = 36078; | ||||
| 	// Misc @formatter:off | ||||
| 	private static final int[] SUB_SKILL_LEVELS = {65, 70, 75, 80}; | ||||
| 	private static final int[] DUAL_SKILL_LEVELS = {85, 90, 95, 99}; | ||||
| 	private static final int[] DUAL_SKILL_LEVELS = {85, 90, 95, 99, 101, 103, 105}; | ||||
| 	// @formatter:on | ||||
| 	 | ||||
| 	private Trandon() | ||||
| @@ -234,7 +234,7 @@ public final class Trandon extends AbstractNpcAI | ||||
| 				} | ||||
| 				 | ||||
| 				final int index = Integer.parseInt(substrings[1]); | ||||
| 				if ((index < 0) || (index > 3)) | ||||
| 				if ((index < 0) || (index > (DUAL_SKILL_LEVELS.length - 1))) | ||||
| 				{ | ||||
| 					return null; | ||||
| 				} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment