europa94 Posted October 27, 2019 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
LOOLP - OFF Posted November 8, 2019 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
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.