europa94 Posted October 27, 2019 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 3 Reputation: 1 Joined: 05/25/18 Last Seen: January 5, 2020 Share Posted October 27, 2019 unsigned int status_base_matk_min(const struct status_data* status) { return status->int_ + (status->int_ / 7) * (status->int_ / 7); } unsigned int status_base_matk_max(const struct status_data* status) { return status->int_ + (status->int_ / 5) * (status->int_ / 5); } вот такая проблема матк подходит к 64к и идет в минус как зделать больше максимальной матк? Quote Link to comment Share on other sites More sharing options...
LOOLP - OFF Posted November 8, 2019 Group: Members Topic Count: 12 Topics Per Day: 0.01 Content Count: 233 Reputation: 51 Joined: 12/20/18 Last Seen: March 10, 2021 Share Posted November 8, 2019 unsigned int status_base_matk_min(const struct status_data* status) { return status->int_ + (status->int_ / 7) * (status->int_ / 7); } unsigned int status_base_matk_max(const struct status_data* status) { return status->int_ + (status->int_ / 3) * (status->int_ / 3); } Просто уменьшите значение делителя этого решения. от 5 до 4 3 2 1 .. это увеличит максимальный урон. Quote Link to comment Share on other sites More sharing options...
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.