Script HealthComponents

Components

cursedHealth
cursedHealthUncurseOnHeal
damageTypeVulnerability
healOnFrame
health
healthBonusAgainstPlayer
healthLimit
incrementRegenerationKillCounter
invincibility
invincibilityOnHit
invincibilityOnLevelStart
killable
lobbyImmunity
lowHealthConvert
maxHealthRounding
regenerationKillCounter
respawn
respawnAutomatically
respawnOnLevelTransition
scalingHealth
spawnInvincibility


Components

cursedHealth
  • health int (default 0)
cursedHealthUncurseOnHeal
  • roundingFactor constant int (default 1)
  • roundDownThreshold constant int (default 0)
damageTypeVulnerability
  • requiredFlags constant int (default 0)
  • minimumDamageTaken constant int (default 1)
healOnFrame
  • health constant int (default 20)
health
  • health int (default 1)
  • maxHealth int (default 1)
healthBonusAgainstPlayer
  • name constant string (default "")
  • increase constant int (default 1)
healthLimit
  • limit constant int (default 0)
incrementRegenerationKillCounter
  • increment constant int (default 1)
invincibility
  • remainingTurns int (default 0)
  • permanent bool (default false)
invincibilityOnHit
  • turns constant int (default 2)
invincibilityOnLevelStart
  • turns constant int (default 2)
killable
  • dead bool (default false)
lobbyImmunity
lowHealthConvert

default:

{}
  • targetTypes constant table
maxHealthRounding
  • roundingFactor constant int (default 1)
  • roundDownThreshold constant int (default 0)
regenerationKillCounter
  • killThreshold constant int (default 10)
  • healthGain constant int (default 1)
  • killCount int (default 0)
  • totalIncrement int (default 0)
respawn
  • pending bool (default false)
respawnAutomatically
respawnOnLevelTransition
scalingHealth
spawnInvincibility
  • active bool (default true)
generated by LDoc 1.4.6