MinHitPointsPercentageCondition - cyritegamestudios/trust GitHub Wiki
Overview
Checks whether the target's hit points percentage is greater than or equal to a given threshold.
Syntax
MinHitPointsPercentageCondition.new(min_hpp)
Parameter | Type | Description |
---|---|---|
min_hpp |
number | Minimum hit points percentage (inclusive). |
Examples
MinHitPointsPercentageCondition.new(20)
(HP greater than or equal to 20%)