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:
Aleos 2019-10-15 10:25:17 -04:00 committed by GitHub
parent 7e89c0523d
commit 72338366c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ) {