Table of Contents

Class IsPerformerCondition

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

Condition that evaluates to true when Performer is the same entity as Holder (i.e., the effect was self-applied). Returns false when Performer is null.

[Serializable]
[TypeSelectableMenu("Leaf/Entity")]
public class IsPerformerCondition : Condition
Inheritance
object
IsPerformerCondition

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.