codingteam / Keter

A roguelike game in the SCP setting.
https://codingteam.github.io/Keter/
MIT License
15 stars 5 forks source link

Fix knife damage #35

Closed ForNeVeR closed 9 years ago

ForNeVeR commented 9 years ago

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.

It will close #34.

Akon32 commented 9 years ago

Ok, thank you.