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.StateAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic override double PercentInjured { get; }
Public Overrides ReadOnly Property PercentInjured As Double
Get
public:
virtual property double PercentInjured {
double get () override;
}
abstract PercentInjured : float with get
override PercentInjured : float with get
Return Value
Type:
Double
System.Double decimal percentage of total injury. 0 Representing maximum
health and 1 representing death.
See Also