<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid="
ops2" border="0" alt="oops3.gif" />
Sorry about that.
I thought I had it last time, but I missed a section.
OK. Further down in the file you'll find a big switch() statement with 10 cases, with if(nLeadership>0 && blah) through sneak.
Change
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->switch(newIndex)
{
case 1: if(nLeadership>0 && nLeadership<MAX_CHARACTER_SKILL){bSetBtn=true;} break;
case 2: if(nFencing>0 && nFencing<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 3: if(nSailing>0 && nSailing<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 4: if(nAccuracy>0 && nAccuracy<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 5: if(nCannons>0 && nCannons<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 6: if(nGrappling>0 && nGrappling<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 7: if(nRepair>0 && nRepair<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 8: if(nDefence>0 && nDefence<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 9: if(nCommerce>0 && nCommerce<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 10: if(nSneak>0 && nSneak<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
}<!--c2--></div><!--ec2-->
to
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->// NK `04-09`-08 added choice for whether to disable skillup if skill == 0 -->
//(added this `04-09`-19. Sorry I missed it before
if(ENABLE_SKILLUP_IFZERO)
{
switch(newIndex)
{
case 1: if(nLeadership<MAX_CHARACTER_SKILL){bSetBtn=true;} break;
case 2: if(nFencing<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 3: if(nSailing<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 4: if(nAccuracy<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 5: if(nCannons<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 6: if(nGrappling<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 7: if(nRepair<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 8: if(nDefence<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 9: if(nCommerce<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 10: if(nSneak<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
}
}else {
switch(newIndex)
{
case 1: if(nLeadership>0 && nLeadership<MAX_CHARACTER_SKILL){bSetBtn=true;} break;
case 2: if(nFencing>0 && nFencing<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 3: if(nSailing>0 && nSailing<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 4: if(nAccuracy>0 && nAccuracy<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 5: if(nCannons>0 && nCannons<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 6: if(nGrappling>0 && nGrappling<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 7: if(nRepair>0 && nRepair<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 8: if(nDefence>0 && nDefence<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 9: if(nCommerce>0 && nCommerce<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
case 10: if(nSneak>0 && nSneak<MAX_CHARACTER_SKILL) {bSetBtn=true;} break;
}
}
// NK <--<!--c2--></div><!--ec2-->