Corrected atcommand mobinfo for VIP (#4404)
* Fixes #4403. * The EXP results for atcommand mobinfo return an incorrect adjustment for VIP status.
This commit is contained in:
parent
7e89c0523d
commit
72338366c9
@ -7228,8 +7228,8 @@ ACMD_FUNC(mobinfo)
|
||||
job_exp = mob->job_exp;
|
||||
|
||||
if (pc_isvip(sd)) { // Display EXP rate increase for VIP
|
||||
base_exp = (base_exp * battle_config.vip_base_exp_increase) / 100;
|
||||
job_exp = (job_exp * battle_config.vip_job_exp_increase) / 100;
|
||||
base_exp += (base_exp * battle_config.vip_base_exp_increase) / 100;
|
||||
job_exp += (job_exp * battle_config.vip_job_exp_increase) / 100;
|
||||
}
|
||||
#ifdef RENEWAL_EXP
|
||||
if( battle_config.atcommand_mobinfo_type ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user