Return to the player script
Add a custom signal to broadcast
Create a set variable to run:
Set shield function whenever changes to the shield are detected
The player should only explode when their shield is exhausted.
Remove call to explode from body entered
Hitting rocks damages the shield
Bigger rocks do more damage
Add a variable for damage amount
Update the body entered function
To damage the player if they hit the enemy
Update the process function
To regenerate the shield over time