Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
DamageModelDefinitions Class Reference

Static Public Member Functions

static void addDefinition (string texture, BodyPartType bodyPart, string[] damageCategories, boolean criticalHit)
static void OnHitZombie (IsoZombie zombie, IsoGameCharacter wielder, BodyPartType bodyPart, HandWeapon weapon)
static boolean checkCategory (HandWeapon weapon, string[] damageCategories)
static boolean checkCrit (IsoGameCharacter wielder, umbrella::DamageModelDefinition damage)

Static Public Attributes

static umbrella::DamageModelDefinition[] list

Member Function Documentation

◆ addDefinition()

void DamageModelDefinitions::addDefinition ( string texture,
BodyPartType bodyPart,
string[] damageCategories,
boolean criticalHit )
static

◆ checkCategory()

boolean DamageModelDefinitions::checkCategory ( HandWeapon weapon,
string[] damageCategories )
static

◆ checkCrit()

boolean DamageModelDefinitions::checkCrit ( IsoGameCharacter wielder,
umbrella::DamageModelDefinition damage )
static

◆ OnHitZombie()

void DamageModelDefinitions::OnHitZombie ( IsoZombie zombie,
IsoGameCharacter wielder,
BodyPartType bodyPart,
HandWeapon weapon )
static

Member Data Documentation

◆ list

umbrella::DamageModelDefinition [] DamageModelDefinitions::list
static

The documentation for this class was generated from the following file: