Initial attempt at boars added. Needs work, lots of work.
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
// Safe fall height is 10 feet or less
|
||||
// Each foot above 10 has a chance to deal 0-4 damage
|
||||
// This means falling from great heights is VERY dangerous but not guaranteed fatal
|
||||
const int SAFE_FALL_HEIGHT = 10;
|
||||
const int FALL_DAMAGE_MIN = 0;
|
||||
const int FALL_DAMAGE_MAX = 4;
|
||||
|
||||
void apply_falling_damage(int fall_height) {
|
||||
// Always play the hit ground sound
|
||||
|
||||
Reference in New Issue
Block a user