I've fixed the knife damage because personally I can't see why it should depend on the current distance between player and enemy. This distance only can be 1 or sqrt(2) in common cases, by the way. In case of attacking yourself this distance is equal to zero and that causes all sorts of troubles.
I've fixed the knife damage because personally I can't see why it should depend on the current distance between player and enemy. This distance only can be
1
orsqrt(2)
in common cases, by the way. In case of attacking yourself this distance is equal to zero and that causes all sorts of troubles.It will close #34.