diff options
-rw-r--r-- | config.h | 1 | ||||
-rw-r--r-- | enemy.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -50,5 +50,6 @@ #define enemy_demon_jump_force (5 << fbits) #define enemy_slash_damage 1 #define enemy_knockback (4 << fbits) +#define enemy_hurt_freeze 1 #endif @@ -98,6 +98,7 @@ void update_enemy_hurt(Enemy* e, World* w) { e->vy -= dz->vy; e->inv = enemy_inv_frames; w->player.charge++; + w->freeze += enemy_hurt_freeze; } } } |