Dissidia Posted April 5, 2017 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 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 Group: Developer Topic Count: 35 Topics Per Day: 0.01 Content Count: 815 Reputation: 236 Joined: 01/30/13 Last Seen: 15 hours ago 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 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 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 Group: Developer Topic Count: 35 Topics Per Day: 0.01 Content Count: 815 Reputation: 236 Joined: 01/30/13 Last Seen: 15 hours ago 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 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 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 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 101 Reputation: 3 Joined: 09/15/16 Last Seen: October 16, 2018 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...
Question
Dissidia
hello how can i limit the max matk to 10k? min and max matk. pre-renewal. thanks
Link to comment
Share on other sites
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.