otland / forgottenserver

A free and open-source MMORPG server emulator written in C++
https://otland.net
GNU General Public License v2.0
1.55k stars 1.04k forks source link

[bugfix] make it so that 1% resistance correctly reduces damage taken by 1 #4733

Closed Coldensjo closed 1 month ago

Coldensjo commented 1 month ago

Accidently deleted this before. This fix will make it so that 1% resistance correctly reduces damage taken by 1.

9 damage image

200 damage image

999 damage image

2001 damage image