Game GetTargetVitals

Returns health information about a specific entity
;Usage
{Health, MaxHealth, health_pct} = Game.GetTargetVitals(entityId)
Parameter	Type 	Description
entityId 	entityId (number)	ID of the entity you want info about
;Return Values
Value 	Type 	Description
health_pct	number	Health/MaxHealth. Float, not percentage.
MaxHealth 	number	current health
Health 	number	current health. Appears to be an integer rounded down to nearest 1% of MaxHealth.
i.e. Health = math.floor( math.floor(RealHealth/(MaxHealth*0.01)) * (MaxHealth*0.01) )
;Examples:
<nowiki>
None
</nowiki>
Category:Addon_API