Docs: Hunt Damage


Custom functions included in Hunt Damage

- - - - -

Functions


PLAYER.Bleed - sv/cl

void PLAYER:Bleed( Entity attacker, number tier )

Makes the player start bleeding at the provided tier, either 1, 2, or 3. If the player dies from bleeding, the provided attacker will receive credit for the kill.


PLAYER.Burn - sv/cl

void PLAYER:Burn( Entity attacker, number amount, number tier )

Makes the player start burning at the provided tier, either 1, 2, or 3. Instantly burns the provided amount of health. If the player dies from bleeding, the provided attacker will receive credit for the kill.


PLAYER.IsBleeding - sv/cl

boolean PLAYER:IsBleeding()

Returns whether the player is bleeding.


PLAYER.IsBurning - sv/cl

boolean PLAYER:IsBurning()

Returns whether the player is burning.


PLAYER.IsPoisoned - sv/cl

boolean PLAYER:IsPoisoned()

Returns whether the player is poisoned.


PLAYER.Poison - sv/cl

void PLAYER:Poison( number tier )

Poisons the player at the provided tier, either 1, 2, or 3. Each tier lasts 2.5 seconds times the tier, and the next tier will also take that amount of time. At tier 3, poison lasts a total of 15 seconds.


PLAYER.StopBleeding - sv/cl

void PLAYER:StopBleeding()

Stops the player's bleeding.


PLAYER.StopBurning - sv/cl

void PLAYER:StopBleeding()

Stops the player's burning.