diff --git a/src/skull_storm.py b/src/skull_storm.py index bfb3e8f..34beb33 100644 --- a/src/skull_storm.py +++ b/src/skull_storm.py @@ -106,6 +106,7 @@ class SkullStorm(Object): # Check if player was hit if abs(player.xPos - skull['x']) < 1: # Within 1 tile - if not player.isJumping: # Only hit if not jumping + if not player.isInvincible: player.set_health(player.get_health() - self.damage) + self.sounds['player_takes_damage'].play() speak("Hit by falling skull!")