Fixed RES/MRES for players (#6857)
* Fixes #6841. Co-authored-by: Playtester <Kenji.lto@gmx.de>
This commit is contained in:
parent
53bc2376a6
commit
b42dbe4a9f
@ -1996,7 +1996,7 @@ void status_calc_misc(struct block_list *bl, struct status_data *status, int lev
|
|||||||
int stat;
|
int stat;
|
||||||
|
|
||||||
// Non players get the value set, players need to stack with previous bonuses.
|
// Non players get the value set, players need to stack with previous bonuses.
|
||||||
if( bl->type != BL_PC )
|
if( bl->type != BL_PC ){
|
||||||
status->batk =
|
status->batk =
|
||||||
status->hit = status->flee =
|
status->hit = status->flee =
|
||||||
status->def2 = status->mdef2 =
|
status->def2 = status->mdef2 =
|
||||||
@ -2006,6 +2006,7 @@ void status_calc_misc(struct block_list *bl, struct status_data *status, int lev
|
|||||||
|
|
||||||
if (bl->type != BL_MOB) // BL_MOB has values set when loading mob_db
|
if (bl->type != BL_MOB) // BL_MOB has values set when loading mob_db
|
||||||
status->res = status->mres = 0;
|
status->res = status->mres = 0;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef RENEWAL // Renewal formulas
|
#ifdef RENEWAL // Renewal formulas
|
||||||
if (bl->type == BL_HOM) {
|
if (bl->type == BL_HOM) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user