Skip to main contentModule types
Source - AtVariableNode
- @ variable like @spelldesc123, @spellname456, @versadmg.
- AuraConditionNode
- Condition that checks whether a specific aura is active on the player.
- BinaryExpressionNode
- Binary expression like $s1 + $SP.
- ColorCodeNode
- Color code like |cFFFFFFFF or |r.
- ConditionalBranchNode
- A single condition branch: predicate + content.
- ConditionalNode
- Conditional like
$?a123[true text][false text] or $?s456[known]?a789[has aura][else]. - ConditionalPredicateNode
- Predicate for a conditional (OR of conditions)
- CrossSpellReferenceNode
- Cross-spell reference like $123456s1 (spell 123456, effect 1, base points)
- CustomVariableNode
- Custom variable from spell’s
description_variables like $<healing>. - EffectVariableNode
- Effect variable like $s1, $m1, $t1, $a1, $o1, $bc1.
- EnchantVariableNode
- Enchant variable like $ec1, $ecix, $ecd.
- ExpressionBlockNode
- Expression block like ${$s1 * 2 + $SP / 100}.
- ExpressionConditionNode
- Condition using a function expression (e.g.
$gt($s1, 5)). - FunctionCallNode
- Function call like $gt($s1, 5), $max($s1, $s2), floor($s1 / 100)
- GenderNode
- Gender node like $ghis:her; or $Ghis:her;.
- MiscVariableNode
- Misc variable like $maxcast, $pctD, $W, $W2, $B, $ctrmax1.
- NumberLiteralNode
- Number literal like 100 or 3.5.
- ParenExpressionNode
- Parenthesized expression node wrapping an inner expression AST.
- ParsedSpellDescription
- A fully parsed spell description.
- PlayerConditionNode
- Condition referencing a server-side
PlayerCondition entry. - PlayerVariableNode
- Player stat variable like $SP (spell power), $AP (attack power), $MHP (max health)
- PluralizationNode
- Pluralization node like $lstack:stacks; or $Lstack:stacks;.
- SpecializationConditionNode
- Condition that checks the player’s specialization index within their class.
- SpellKnownConditionNode
- Condition that checks whether a specific spell is known by the player.
- SpellLevelVariableNode
- Spell-level variable like $d (duration), $n (charges), $h (proc chance)
- TextNode
- Plain text content.
- UnaryExpressionNode
- Unary expression like -$s1.
- BinaryOperator
- Arithmetic operator in a binary expression (add, subtract, multiply, divide).
- ExpressionNode
- An expression that evaluates to a number.
- SingleConditionNode
- A single condition in a predicate.
- SpellDescriptionNode
- Top-level node in a spell description.
- UnaryOperator
- Unary arithmetic operator (currently only negation).
- VariableNode
- Any variable reference in a spell description.