I'm trying to make all the 3rd baby classes have the same exact amount of hp/sp/stats as the 3rd Trans Classes. I have figured out the HP/SP part of this.
In Status.c change this:
if (flag == 0) { //Calculates MaxHP
max = job_info[idx].base_hp[level-1] * (1 + (max(sd->battle_status.vit,1) * 0.01)) * ((sd->class_&JOBL_UPPER)?1.25:1);
max += status_get_hpbonus(&sd->bl,STATUS_BONUS_FIX);
max = max * (1 + status_get_hpbonus(&sd->bl,STATUS_BONUS_RATE) * 0.01);
}
else if (flag == 1) { //Calculates MaxSP
max = job_info[idx].base_sp[level-1] * (1 + (max(sd->battle_status.int_,1) * 0.01));
max += status_get_spbonus(&sd->bl,STATUS_BONUS_FIX);
max = max * (1 + status_get_spbonus(&sd->bl,STATUS_BONUS_RATE) * 0.01);
max = (max * ((sd->class_&JOBL_UPPER)?1.25:1)) + 0.5; //Don't have round()
To This:
if (flag == 0) { //Calculates MaxHP
max = job_info[idx].base_hp[level-1] * (1 + (max(sd->battle_status.vit,1) * 0.01)) * ((sd->class_&JOBL_UPPER || sd->class_&JOBL_BABY)?1.25:1);
max += status_get_hpbonus(&sd->bl,STATUS_BONUS_FIX);
max = max * (1 + status_get_hpbonus(&sd->bl,STATUS_BONUS_RATE) * 0.01);
}
else if (flag == 1) { //Calculates MaxSP
max = job_info[idx].base_sp[level-1] * (1 + (max(sd->battle_status.int_,1) * 0.01));
max += status_get_spbonus(&sd->bl,STATUS_BONUS_FIX);
max = max * (1 + status_get_spbonus(&sd->bl,STATUS_BONUS_RATE) * 0.01);
max = (max * ((sd->class_&JOBL_UPPER || sd->class_&JOBL_BABY)?1.25:1)) + 0.5; //Don't have round()
The above change worked fine, but I think this effects all the baby classes. If there is a way to make this only effect 3rd babies please correct me.
Now I'm looking for the stats part. I want the Baby 3rds to have the same amount of stats as the Trans 3rds. This is where I need your help guys.
Also, I want Baby Super Novice to have the same amount of HP/SP as the Super Novice.
Question
Dori
I'm trying to make all the 3rd baby classes have the same exact amount of hp/sp/stats as the 3rd Trans Classes.
I have figured out the HP/SP part of this.
In Status.c change this:
To This:
The above change worked fine, but I think this effects all the baby classes. If there is a way to make this only effect 3rd babies please correct me.
Now I'm looking for the stats part. I want the Baby 3rds to have the same amount of stats as the Trans 3rds. This is where I need your help guys.
Also, I want Baby Super Novice to have the same amount of HP/SP as the Super Novice.
Any help would be greatly appreciated! Thank you!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.