Skip to main content

Condition_HasObjectGeneralEffect

Description

Checks whether the BaseObject has the specified general effect type (S1) at the specified quality grade (S2). If S2 is not provided, only checks whether the effect exists (grade is not None). Supported effect types: Durability, Efficiency, Performance.

Parameters

ParameterDescription
BaseObjectThe game object to check for general effects (Self or Target)
CompareTypeComparison operator: Equal, NotEqual
S1General effect type: Durability, Efficiency, or Performance (EB1ObjectGeneralEffectType)
S2(Optional) Quality grade to compare against. EB1Quality for Durability/Efficiency, EB1ObjectPerformanceQuality for Performance

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Check if Target has any Durability general effectTargetHasObjectGeneralEffectEqualDurability
Check if Self has any Efficiency general effectSelfHasObjectGeneralEffectEqualEfficiency
Check if Target Durability effect is Good gradeTargetHasObjectGeneralEffectEqualDurabilityGood
Check if Target has no Performance general effectTargetHasObjectGeneralEffectNotEqualPerformance