|
@@ -2785,10 +2785,6 @@ static int status_get_hpbonus(struct block_list *bl, enum e_status_bonus type) {
|
|
struct map_session_data *sd = map_id2sd(bl->id);
|
|
struct map_session_data *sd = map_id2sd(bl->id);
|
|
bonus += sd->hprate;
|
|
bonus += sd->hprate;
|
|
bonus -= 100; //Default hprate is 100, so it should be add 0%
|
|
bonus -= 100; //Default hprate is 100, so it should be add 0%
|
|
-
|
|
|
|
- //+200% for top ranking Taekwons over level 90.
|
|
|
|
- if (pc_is_taekwon_ranker(sd))
|
|
|
|
- bonus += 200;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
//Bonus by SC
|
|
//Bonus by SC
|
|
@@ -2901,10 +2897,6 @@ static int status_get_spbonus(struct block_list *bl, enum e_status_bonus type) {
|
|
bonus += i;
|
|
bonus += i;
|
|
if((i = pc_checkskill(sd,HW_SOULDRAIN)) > 0)
|
|
if((i = pc_checkskill(sd,HW_SOULDRAIN)) > 0)
|
|
bonus += 2 * i;
|
|
bonus += 2 * i;
|
|
-
|
|
|
|
- //+200% for top ranking Taekwons over level 90.
|
|
|
|
- if (pc_is_taekwon_ranker(sd))
|
|
|
|
- bonus += 200;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
//Bonus by SC
|
|
//Bonus by SC
|
|
@@ -2950,12 +2942,12 @@ static unsigned int status_calc_maxhpsp_pc(struct map_session_data* sd, unsigned
|
|
level = umax(sd->status.base_level,1);
|
|
level = umax(sd->status.base_level,1);
|
|
|
|
|
|
if (isHP) { //Calculates MaxHP
|
|
if (isHP) { //Calculates MaxHP
|
|
- dmax = job_info[idx].base_hp[level-1] * (1 + (umax(stat,1) * 0.01)) * ((sd->class_&JOBL_UPPER)?1.25:1);
|
|
|
|
|
|
+ dmax = job_info[idx].base_hp[level-1] * (1 + (umax(stat,1) * 0.01)) * ((sd->class_&JOBL_UPPER)?1.25:(pc_is_taekwon_ranker(sd))?3:1);
|
|
dmax += status_get_hpbonus(&sd->bl,STATUS_BONUS_FIX);
|
|
dmax += status_get_hpbonus(&sd->bl,STATUS_BONUS_FIX);
|
|
dmax += (int64)(dmax * status_get_hpbonus(&sd->bl,STATUS_BONUS_RATE) / 100); //Aegis accuracy
|
|
dmax += (int64)(dmax * status_get_hpbonus(&sd->bl,STATUS_BONUS_RATE) / 100); //Aegis accuracy
|
|
}
|
|
}
|
|
else { //Calculates MaxSP
|
|
else { //Calculates MaxSP
|
|
- dmax = job_info[idx].base_sp[level-1] * (1 + (umax(stat,1) * 0.01)) * ((sd->class_&JOBL_UPPER)?1.25:1);
|
|
|
|
|
|
+ dmax = job_info[idx].base_sp[level-1] * (1 + (umax(stat,1) * 0.01)) * ((sd->class_&JOBL_UPPER)?1.25:(pc_is_taekwon_ranker(sd))?3:1);
|
|
dmax += status_get_spbonus(&sd->bl,STATUS_BONUS_FIX);
|
|
dmax += status_get_spbonus(&sd->bl,STATUS_BONUS_FIX);
|
|
dmax += (int64)(dmax * status_get_spbonus(&sd->bl,STATUS_BONUS_RATE) / 100); //Aegis accuracy
|
|
dmax += (int64)(dmax * status_get_spbonus(&sd->bl,STATUS_BONUS_RATE) / 100); //Aegis accuracy
|
|
}
|
|
}
|