Jump to content

how does Zombie HP / Health work


nolanri

Recommended Posts

i can't figure out how it works. Do zombies even have HP? or each attack has a certain chance to kill?

zombie:getBodyDamage():getHealth() will return 100 even if i first attack the zombie several times.  And I don't see anything Health or HP like in the actual IsoZombie class. So where is the zombies HP stored? or do zombies even have HP?

getOverallBodyHealth()  always returns 100 aswell

Edited by nolanri
Link to comment
Share on other sites

On 5/26/2016 at 5:39 PM, nolanri said:

i can't figure out how it works. Do zombies even have HP? or each attack has a certain chance to kill?

zombie:getBodyDamage():getHealth() will return 100 even if i first attack the zombie several times.  And I don't see anything Health or HP like in the actual IsoZombie class. So where is the zombies HP stored? or do zombies even have HP?

getOverallBodyHealth()  always returns 100 aswell

idk. *10/10*

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...