MaxHitPointsPercentageCondition - cyritegamestudios/trust GitHub Wiki

Overview

Checks whether the target's hit points percentage is below a given threshold.

Syntax

MaxHitPointsPercentageCondition.new(max_hpp)

Parameter Type Description
max_hpp number Maximum hit points percentage (inclusive).

Examples

  • MaxHitPointsPercentageCondition.new(80) (HP less than or equal to 80%)