I have made the following edit to status_damage in status.c.
When reflect damage is passed onto Crusader devoting player, I want it to not allow overflow above 1,000,000. However, there is some strange behavior.
Even though passed on damage can be any amount, this check can't seem to be above 966,959. If I make it higher than 966k, the check doesn't go through, even if reflect damage is in the millions.
Below is the code I'm using, labelled CUSTOM START / END
Hello,
I have made the following edit to status_damage in status.c.
When reflect damage is passed onto Crusader devoting player, I want it to not allow overflow above 1,000,000. However, there is some strange behavior.
Even though passed on damage can be any amount, this check can't seem to be above 966,959. If I make it higher than 966k, the check doesn't go through, even if reflect damage is in the millions.
Below is the code I'm using, labelled CUSTOM START / END
Thanks
Share this post
Link to post
Share on other sites