Skip to content

Commit

Permalink
πŸ› fix dentata-snakes bullets not dealing damage (#222)
Browse files Browse the repository at this point in the history
- this was due to the fact that we now check `player.health` as an int score, and we were passing in a float damage amount. so the damage function failed
  • Loading branch information
TheAfroOfDoom authored Oct 12, 2024
1 parent 93339ab commit c265609
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
scoreboard players add @s omegaflowey.attack.clock.i 1

execute store result storage omegaflowey:utils.damage radius float 0.0001 run scoreboard players get @s omegaflowey.attack.bullets.radius
data merge storage omegaflowey:utils.damage { damage: 2.5 }
data merge storage omegaflowey:utils.damage { damage: 3 }
function omegaflowey.entity:utils/damage with storage omegaflowey:utils.damage

# Check if inside arena
Expand Down

0 comments on commit c265609

Please sign in to comment.