From 462ca3fec65dc01af50f5565a982488cdb89d7be Mon Sep 17 00:00:00 2001 From: csnv Date: Mon, 15 Sep 2014 23:33:51 +0200 Subject: Corrected MATK calculation for Mob. Bug report 8340 --- src/map/status.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/status.c b/src/map/status.c index 7394c876a..77dc7821d 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4001,8 +4001,12 @@ void status_calc_bl_(struct block_list *bl, enum scb_flag flag, enum e_status_ca if( bl->type == BL_PET ) return; // pets are not affected by statuses - if( opt&SCO_FIRST && bl->type == BL_MOB ) + if( opt&SCO_FIRST && bl->type == BL_MOB ) { +#ifdef RENEWAL + status->update_matk(bl); // Otherwise, the mob will spawn with lower MATK values +#endif return; // assume there will be no statuses active + } status->calc_bl_main(bl, flag); -- cgit v1.2.3-60-g2f50