Skip to main content

Difference

A Difference Condition subtracts the second Stat from the first (first − second) and evaluates the result using a comparison condition.

Fields​

FieldDescription
ComparerThe Numerable Comparer used to evaluate the difference between the two Stat values.

Supported Types​

  • Float
  • Int

Example​

Damage Nearby Enemies On Hit retaliates only when the attacker is on another team. Condition_DifNot0(Int) receives the two TeamNo Stats:

StatsComparerSource TeamNoTarget TeamNoDifferencePasses
Source TeamNo, Target TeamNoNot Equals 0101yes
000no — friendly fire is ignored