[DiscordArchive] But what you were saying about negative health/ overflowing how would i check this?
[DiscordArchive] But what you were saying about negative health/ overflowing how would i check this?
Archived author: Infectious • Posted: 2024-03-24T12:55:56.705000+00:00
Original source
Yea that could work but is not a good "work around" the situation hahah
Archived author: stoneharry • Posted: 2024-03-24T12:56:25.768000+00:00
Original source
Basically the formula that scales is calculating incorrectly. Without seeing that formula it's hard to know where it's going wrong
Archived author: Infectious • Posted: 2024-03-24T12:57:08.176000+00:00
Original source
https://github.com/azerothcore/mod-autobalance/
[Embed: GitHub - azerothcore/mod-autobalance: Module for AzerothCore(MaNGOS...]
Module for AzerothCore(MaNGOS -> TrinityCore -> SunwellCore) - azerothcore/mod-autobalance
https://github.com/azerothcore/mod-autobalance/
Archived author: stoneharry • Posted: 2024-03-24T12:58:48.684000+00:00
Original source
Maybe ask the author? I'm on mobile and the main class there has over 6000 lines of code
Archived author: Infectious • Posted: 2024-03-24T12:59:48.549000+00:00
Original source
Thanks
Archived author: Cronus • Posted: 2024-03-24T13:01:13.233000+00:00
Original source
I'll download it once I get back from coaching this youth baseball game.
Archived author: stoneharry • Posted: 2024-03-24T13:03:48.372000+00:00
Original source
It does have debug logs you can enable: https://github.com/azerothcore/mod-autob....cpp#L4982
`creature->SetHealth(creature->GetMaxHealth() * (healthPct / 100));` This looks like it might have error edge cases
Archived author: Infectious • Posted: 2024-03-24T13:06:40.262000+00:00
Original source
I have found that line creature->SetHealth(creature->GetMaxHealth() * (healthPct / 100));
Archived author: stoneharry • Posted: 2024-03-24T13:07:09.382000+00:00
Original source
there are a couple of places SetHealth is called in that code, but it doesn't look like it handles the edge cases correctly.
Archived author: Infectious • Posted: 2024-03-24T13:08:11.606000+00:00
Original source
Yea i saw but i honestly cant see a problem on it