@ -1302,7 +1302,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -1302,7 +1302,6 @@ public class PlayerCharacter extends AbstractCharacter {
this.calculateSkills();
returntrue;
}
publicbooleanrefineSpi(){
booleanworked=false;
shortnewSpi=(short)0;
@ -1357,6 +1356,58 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -1357,6 +1356,58 @@ public class PlayerCharacter extends AbstractCharacter {
}
}
}
//insert test run for lowered focus lines with trained spells
booleantester=false;
switch(stat){
caseMBServerStatics.STAT_STR_ID:
tester=refineStr();
break;
caseMBServerStatics.STAT_DEX_ID:
tester=refineDex();
break;
caseMBServerStatics.STAT_CON_ID:
tester=refineCon();
break;
caseMBServerStatics.STAT_INT_ID:
tester=refineInt(null);
break;
caseMBServerStatics.STAT_SPI_ID:
tester=refineSpi();
break;
}
//loop through all skills and all powers to ensure that the refine doesn't yield a power no longer able to be cast