pajodex Posted January 11, 2018 Group: Members Topic Count: 78 Topics Per Day: 0.03 Content Count: 436 Reputation: 167 Joined: 12/12/17 Last Seen: 44 minutes ago Share Posted January 11, 2018 (edited) Hi, I have successfully edited the Def and Mdef to my desired setting. However, I'm encountering problem with regards with Atk Calculation. After compiling (no errors), the Atk1 still remains at '416' on a str and dex of 230. (see attached photos) status.cpp (before) // Atk stat = (status_get_homstr(bl) + status_get_homdex(bl)) / 5; status->rhw.atk = cap_value(stat, 1, SHRT_MAX); status.cpp (after) // Atk stat = (status_get_homstr(bl) + status_get_homdex(bl)) * 500000; // testing only status->rhw.atk = cap_value(stat, 1, SHRT_MAX); No matter how much I screw with this formula, nothing has changed Pic below is the default formula for Atk, Def, and Mdef After editing Atk, Def, and Mdef: I hope someone can help Thanks~ Edited January 12, 2018 by pajodex Quote Link to comment Share on other sites More sharing options...
Question
pajodex
Hi, I have successfully edited the Def and Mdef to my desired setting. However, I'm encountering problem with regards with Atk Calculation. After compiling (no errors), the Atk1 still remains at '416' on a str and dex of 230. (see attached photos)
status.cpp (before)
// Atk stat = (status_get_homstr(bl) + status_get_homdex(bl)) / 5; status->rhw.atk = cap_value(stat, 1, SHRT_MAX);
status.cpp (after)
// Atk stat = (status_get_homstr(bl) + status_get_homdex(bl)) * 500000; // testing only status->rhw.atk = cap_value(stat, 1, SHRT_MAX);
No matter how much I screw with this formula, nothing has changed
Pic below is the default formula for Atk, Def, and Mdef
After editing Atk, Def, and Mdef:
I hope someone can help Thanks~
Link to comment
Share on other sites
0 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.