Click or drag to resize
AnimalStatePercentInjured Property

Provides the percentage of damage taken versus total allowed damage before the creature is killed. This is useful in calculating which creature makes the best target due to weakness.

Namespace: Terrarium.Sdk.Classes.State
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public override double PercentInjured { get; }

Return Value

Type: Double
System.Double decimal percentage of total injury. 0 Representing maximum health and 1 representing death.
See Also