So I've been working on a couple of passive skills, all were fine except for this one.
I'm not gonna post all the codes in diff files because there are just too many, but here
is the part I am mostly having a problem on.
I need to have this skill add 1% Base MATK (the first number that shows in the stat window under MATK) every skill level heres what I have in Status.c
// ----- MATK CALCULATION -----if((skill_lv=pc->checkskill(sd,CS_MATK_MASTERY))>0){ bstatus->matk_min += (int)status->base_matk(bstatus,sd->status.base_level)*skill_lv/100; if(bstatus->matk_min > bstatus->matk_max) bstatus->matk_max = bstatus->matk_min;}
if you are wondering the
part is just to get the characters current base_matk which works perfectly fine as I have tried it.
The part I am so confuzzled about is changing "bstatus->matk_min" or "bstatus->matk_max" does not change the character's current matk stat.
But "bstatus->batk" and all other "bstatus->etc." works except for matk_min and matk_max.
So my question is which is the right "bstatus" or any other code thingamajigie to change to be able to modify my character's current matk which shows at the stat window?