Hey guys, I am making a RPG Game in which there are 6 different creatures with different abilities. I have the main coding down, I need a little help decrementing the health when hit. I would like to use Dynamic Binding for this.
Below is code from one of my creatures and the creature header file
I need help lowering the health when the snake uses whack
When the snake uses whack the health of the current object, so the snake's health will go down. Later I will add in health potions to increase his health I think. What would the coding look like to decrease his health though? I've been working with it forever trying to come up with something