Table of Contents

Class AlwaysTrueCondition

Namespace
ElectricDrill.AstraRpgFramework.Conditions
Assembly
com.electricdrill.astra-rpg-framework.Runtime.dll

Condition that always evaluates to true. Useful as a default or placeholder in condition chains.

[Serializable]
[TypeSelectableMenu("Leaf/Constant")]
public class AlwaysTrueCondition : Condition
Inheritance
object
AlwaysTrueCondition

Methods

Evaluate(EvaluationContext)

Evaluates this condition against the provided context.

public override bool Evaluate(EvaluationContext ctx)

Parameters

ctx EvaluationContext

Contextual data available to the condition (holder, performer, payload).

Returns

bool

true if the condition is satisfied; otherwise false.