Well, It's a pity but today my neurons are asleep
I have variables:
PlayerLife: current hp of player
Max_Player_life: maximum hp the player have.
Defense: subtract from enemy damage a bit quantity.
So if a bullet do as damage:
subtract 5-Defense from PlayerLife[/code:2z0s05jl]
If Defense is greater than 5, PlayerLife grows...
what would be your solution?