Dissidia Posted April 5, 2017 Share Posted April 5, 2017 hello how can i limit the max matk to 10k? min and max matk. pre-renewal. thanks Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted April 5, 2017 Share Posted April 5, 2017 (edited) Hmm, I think easiest would be to go to status.c, find function status_calc_matk and change: cap_value(matk,0,USHRT_MAX); To: cap_value(matk,0,10000); (It appears twice in the function and both parts need to be modified.) Edited April 5, 2017 by Playtester 1 Quote Link to comment Share on other sites More sharing options...
0 Dissidia Posted April 6, 2017 Author Share Posted April 6, 2017 thank you so much sir. Sir Playtester, the code also didn't work. they can still exceed in 65k matk. Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted April 25, 2017 Share Posted April 25, 2017 Then I'm not sure, you'd need to run a debugger to see at what part of the code it's increased. Quote Link to comment Share on other sites More sharing options...
0 Dissidia Posted April 29, 2017 Author Share Posted April 29, 2017 alright, thank you for the reply sir... Quote Link to comment Share on other sites More sharing options...
0 iamkevin Posted May 22, 2017 Share Posted May 22, 2017 Maybe you can just manually compute it.. using this: src/map/status.c unsigned short status_base_matk_min(const struct status_data* status) { return status->int_ + (status->int_ / 7) * (status->int_ / 7); } unsigned short status_base_matk_max(const struct status_data* status) { return status->int_ + (status->int_ / 5) * (status->int_ / 5); } Quote Link to comment Share on other sites More sharing options...
hello how can i limit the max matk to 10k? min and max matk. pre-renewal. thanks
Link to comment
Share on other sites