Search the Community
Showing results for tags 'matk'.
Found 2 results
-
How is Monster MATK calculated in Renewal configuration?
Inzanity posted a question in General Server Support
Hey, I have been checking divine-pride. I see that Monster DB from KRO listst MATK (MIN-MAX) as its own value. hercules DB (or IRO DB) does not list MATK as its own value. I have noticed that Magic Skills from monsters on pservers are a lot weaker than on Official servers. I want to know how Monster MATK is calculated and if its perhaps outdated and need to be checked again? I was told that MATK is solely calculated in source, so Id like to ask someone with the required knowledge to answer this question. Thank you very much Inzanity -
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?