Class AlwaysFalseCondition
- Namespace
- ElectricDrill.AstraRpgFramework.Conditions
- Assembly
- com.electricdrill.astra-rpg-framework.Runtime.dll
Condition that always evaluates to false.
Useful to explicitly disable a condition slot during development or as a short-circuit placeholder.
[Serializable]
[TypeSelectableMenu("Leaf/Constant")]
public class AlwaysFalseCondition : Condition
- Inheritance
-
objectAlwaysFalseCondition
Methods
Evaluate(EvaluationContext)
Evaluates this condition against the provided context.
public override bool Evaluate(EvaluationContext ctx)
Parameters
ctxEvaluationContextContextual data available to the condition (holder, performer, payload).
Returns
- bool
trueif the condition is satisfied; otherwisefalse.