Interface Condition


public interface Condition
Gating check determining if a mechanic should run on a specific target.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(@NotNull SkillContext context, @NotNull Target target)
    Tests if the target passes this condition.
  • Method Details

    • test

      boolean test(@NotNull @NotNull SkillContext context, @NotNull @NotNull Target target)
      Tests if the target passes this condition.
      Parameters:
      context - the context of the skill execution
      target - the target to evaluate
      Returns:
      true if the condition passes, false otherwise