HitPointsPercentageRangeCondition - cyritegamestudios/trust GitHub Wiki
Overview
Checks whether the target's hit points percentage is between a given range.
Syntax
HitPointsPercentageRangeCondition.new(min_hpp, max_hpp)
Parameter | Type | Description |
---|---|---|
min_hpp |
number | Minimum hit points percentage (inclusive). |
max_hpp |
number | Maximum hit points percentage (inclusive). |
Examples
HitPointsPercentageRangeCondition(1, 80)