Renewal bBaseAtk readparam returning wrong value (#3731)

* Corrects readparam returning the wrong value for bBaseAtk.
This commit is contained in:
Aleos 2018-12-07 10:23:46 -05:00 committed by GitHub
parent b87a1758a4
commit 32c68c73bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8054,7 +8054,13 @@ int pc_readparam(struct map_session_data* sd,int type)
case SP_COOKMASTERY: val = sd->cook_mastery; break;
case SP_CRITICAL: val = sd->battle_status.cri/10; break;
case SP_ASPD: val = (2000-sd->battle_status.amotion)/10; break;
case SP_BASE_ATK: val = sd->battle_status.batk; break;
case SP_BASE_ATK:
#ifdef RENEWAL
val = sd->bonus.eatk;
#else
val = sd->battle_status.batk;
#endif
break;
case SP_DEF1: val = sd->battle_status.def; break;
case SP_DEF2: val = sd->battle_status.def2; break;
case SP_MDEF1: val = sd->battle_status.mdef; break;