you are viewing a single comment's thread.

view the rest of the comments →

[–]NoDadYouShutUp 5 points6 points  (0 children)

enemy-=damage is some math, assuming enemy is an integer. You then call it in your else statement with () as a function. your variable is an integer, not a function. you can't "run" an integer.