Skip to main content

Condition_CompareSkillSum

Description

Compares the BaseObject's combined level of two skills against the Target's combined level of the same skills. The difference (BaseObject sum - Target sum) is compared against F1. A missing skill counts as level 0. Returns false when there is no Target.

Parameters

ParameterDescription
BaseObjectThe Character whose skill sum is the left-hand side. Must not be Target.
CompareTypeComparison operator applied to (BaseObject sum - Target sum [op] F1).
S1First Skill.Id.
S2Second Skill.Id.
F1Difference to compare against. F2 is the upper bound for range comparisons.

Examples

DescriptionBaseObjectCommandCompareTypeS1S2F1
Check if Self's dance+performance is 20+ above Target'sSelfCompareSkillSumGreaterOrEqualDancePerformance20
Check if Self's dance+performance is below Target'sSelfCompareSkillSumLessDancePerformance0