Dissidia Posted April 5, 2017 Posted April 5, 2017 hello how can i limit the max matk to 10k? min and max matk. pre-renewal. thanks Quote
0 Playtester Posted April 5, 2017 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
0 Dissidia Posted April 6, 2017 Author 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
0 Playtester Posted April 25, 2017 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
0 Dissidia Posted April 29, 2017 Author Posted April 29, 2017 alright, thank you for the reply sir... Quote
0 iamkevin Posted May 22, 2017 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
Question
Dissidia
hello how can i limit the max matk to 10k? min and max matk. pre-renewal. thanks
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.