You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've been informed that you are actually supposed to add the bonuses from factions and backgrounds PRIOR to adding skill points, and morph bonuses AFTER. Seems ass backwards to me, but whatever, I modified my code so that it works the way it should:
public class TallyHo2 {
// TODO code application logic here
// a = ego aptitude
// b = total number of character points spent
// c = total number of character points spent over 60
// y = expert trait true or false
// x = base skill
// z = final skill (prior to spending rez points)
// r = bonus from morph
// s = bonus from background + faction
static int tally(int a, int b, int r, int s, boolean y){
int c = (a+b+s)-60;
int x = (60 + c/2); //rounded down
int z = 0;
if(y == true){
if(x+r>90){
z=90;
}
else{
z = x+r;
}
}
else if(y==false){
if(x+r>80){
z=80;
}
else{
z = x+r;
}
}
return z;
}
}
The text was updated successfully, but these errors were encountered:
So I've been informed that you are actually supposed to add the bonuses from factions and backgrounds PRIOR to adding skill points, and morph bonuses AFTER. Seems ass backwards to me, but whatever, I modified my code so that it works the way it should:
public class TallyHo2 {
}
The text was updated successfully, but these errors were encountered: