Interface Condition
public interface Condition
Gating check determining if a mechanic should run on a specific target.
-
Method Summary
Modifier and TypeMethodDescriptionbooleantest(@NotNull SkillContext context, @NotNull Target target) Tests if the target passes this condition.
-
Method Details
-
test
Tests if the target passes this condition.- Parameters:
context- the context of the skill executiontarget- the target to evaluate- Returns:
- true if the condition passes, false otherwise
-