Jump to content

MasonDJar

Member
  • Posts

    1
  • Joined

  • Last visited

MasonDJar's Achievements

  1. I am attempting to find out how long a character, once infected, has before they croak. The docs aren't telling me much, but at least I can get an idea of what methods I have access to. https://zomboid-javadoc.com/41.65/zombie/characters/BodyDamage/BodyDamage.html Here I can see the methods "isInfected" and "infectionMortalityDuration", I was looking at some other mods and it appears as though isInfected is the correct boolean to indicate if a user is infected, but I can't find anything about infectionMortalityDuration, am I correct in assuming this is how long that character has to live before he dies of the zombification? Could someone point me in the direction of where once infected the logic occurs that slowly kills you. I haven't written out any code yet, as I am trying to figure out which direction I need to go to accomplish my goals.
×
×
  • Create New...