How to make it

Hello,
I have character actor whit 2 attributes a) life (20), b) bubble (true/false) .
If i click on it he loosing 4 life,again more 4 life and more.
When actor life down less or equally 0 , actor destroyed. All work perfect.

**Question : Now i need to add condition, if actors life should down less or equally 0 and he has bubble on true,
Life should stay on 1 but bubble should be destroyed and the only next click on it destroy actor.
How exactly i am writing it at code ? **

Thank you for help.

Comments

Sign In or Register to comment.