fixed damage of ranged attacks
fixes #176
damage for ranged attacks is now stored in float