Stamina.DrainPercent

Method in Stamina

Declaration

public float DrainPercent(float percent)

Description

Decreases the character's stamina by a percent amount.

Parameters

percentThe percent amount to decrease the character's stamina by.

Returns

floatThe new amount of stamina.