Postado Dezembro 16, 2021 3 anos Administrador trocar por: int32_t healthPercent = round((double)(healthChange * 1) / target->getMaxHealth()); sprintf(buffer, "+%2fk%", healthPercent); trocar por: int32_t healthPercent = round((double)(damage * 1) / target->getMaxHealth()); sprintf(buffer, "-%2f%k", healthPercent); Contato :https://www.linkedin.com/in/rafhael-oliveira/Projetos :https://github.com/thetibiaking
Postado Dezembro 16, 2021 3 anos Autor 8 minutos atrás, HomeJobs disse: trocar por: int32_t healthPercent = round((double)(healthChange * 1) / target->getMaxHealth()); sprintf(buffer, "+%2fk%", healthPercent); trocar por: int32_t healthPercent = round((double)(damage * 1) / target->getMaxHealth()); sprintf(buffer, "-%2f%k", healthPercent); mesma coisa
Postado Dezembro 16, 2021 3 anos Administrador int32_t healthPercent = round((double)(healthChange) - target->getMaxHealth()); sprintf(buffer, "+%2fk%", healthPercent); trocar por: int32_t healthPercent = round((double)(damage) - target->getMaxHealth()); sprintf(buffer, "-%2f%k", healthPercent); Contato :https://www.linkedin.com/in/rafhael-oliveira/Projetos :https://github.com/thetibiaking
Postado Dezembro 23, 2021 3 anos Administrador Em 16/12/2021 em 20:01, HomeJobs disse: int32_t healthPercent = round((float)(healthChange) - target->getMaxHealth()); sprintf(buffer, "-%2f%k", round(damage)healthPercent); trocar por: int32_t healthPercent = round((float)(damage) - target->getMaxHealth()); sprintf(buffer, "-%2f%k", round(damage)healthPercent); Tenta assim. Contato :https://www.linkedin.com/in/rafhael-oliveira/Projetos :https://github.com/thetibiaking
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.