Skip to content

Scaling and trigger rules ​

Two kinds of rules change how much an effect does and how a hit or heal turns out:

  • Scaling rules (on Damage, Heal and Stat Modifier effects) make the number depend on the situation: a target low on health, a target with a shield, a target with many stacks of something.
  • Trigger rules (on Damage and Heal effects) change how special outcomes behave for this effect: a critical strike, a dodge, a multistrike.

Both are lists on the effect. Only the effect types that have a number to scale carry the scaling rules, and only the ones that cause a hit or a heal carry the trigger rules: the other effect types do not show them. In the code the scaling rules come from ScalingEffect (damage, heal and stat modifiers) and the trigger rules from CombatResultEffect (damage and heal), so a new effect of that kind can have them too. You find them in the Effects editor, under Specific Properties.

Scaling rules ​

A scaling rule on a damage effect.
A scaling rule on a damage effect.

A scaling rule measures something and gives a bonus in percent. The bonuses of all the rules on an effect add up into one multiplier: 1 + (the bonuses) / 100. So one rule of +100 % doubles the damage, and two rules of +50 % each also double it.

Scaling rules apply to Damage and Heal effects (what they deal or heal) and to Stat Modifier effects (the value they apply, measured at the moment the effect is applied: a buff that is stronger the lower the user's health was when it was cast).

FieldWhat it doesDefault
SourceWhat is measured (see the table below)Target health %
Pool, Effect, TagThe pool, effect or entity type the source needs, for the sources that use onenone
Only own stacksFor the stacks source: count only the stacks the caster put thereon
Applies whenAlways, only Below the threshold, or only Above itAlways
ThresholdThe value the measured number is compared with (20 for "below 20 % health")0
Bonus percentThe bonus when the rule applies. +100 doubles the damage100
Per unitMultiply the bonus by the measured value, instead of giving it onceoff

Sources ​

SourceWhat is measured
Target health %The target's health, 0 to 100
Target missing health %100 minus that
Target pool valueThe current value of one of the target's pools
Target pool %How full one of the target's pools is, as a percentage
Target has a shield1 when a shield with something left protects the target, otherwise 0
Target effect stacksThe stacks of an effect on the target: combo points as a stacking effect
Target has tag1 when the target has an entity type (Undead, Beast), otherwise 0
Originator health %The caster's own health
Originator pool %How full one of the caster's pools is

Examples ​

You wantRule
An execute: double damage below 20 % healthSource Target health %, Applies when Below, Threshold 20, Bonus 100
+2 % damage for every 1 % of missing healthSource Target missing health %, Per unit on, Bonus 2
+300 % against a shielded targetSource Target has a shield, Bonus 300
Combo points: +25 % per stackSource Target effect stacks, choose the combo-point effect, Per unit on, Bonus 25. The finishing move can consume the stacks with a Consume effect
Extra damage to undeadSource Target has tag, choose the entity type

Damage to shields ​

A Damage effect also has Protective pool multiplier (default 1). A shield loses that many times more points for the damage it absorbs. An anti-shield strike with 4 empties a shield four times faster and lets the rest through.

Trigger rules ​

A trigger rule on an effect.
A trigger rule on an effect.

Some outcomes of a hit are decided by chance and by stats: a critical strike, a dodge, a block, a multistrike. In ChronicleNode each is a trigger tag, which you define in Entity Stats > Trigger Tags. A stat on the entity usually rolls the tag.

A trigger rule on an effect overrides that for hits and heals caused by this effect, whatever the stats say.

FieldWhat it doesDefault
TagThe trigger tag the rule is about. Empty means every tag (a "luck" bonus to all chances)none
ForceNormal: roll as usual, only the bonuses apply. Always: the tag always fires, with no roll, even for an entity with no stat that rolls it. Never: the tag never fires. Never beats AlwaysNormal
Chance bonusAdded to the chance, in percentage points (30 is 30 more percent)0
Magnitude bonusAdded to the tag's magnitude. A critical strike with +50 is a +150 % crit instead of +100 %0
Magnitude multiplierThe magnitude is multiplied by this after the bonuses ("more": 1.25 is 25 % more)1

Examples ​

You wantRule
An attack that always critsTag Critical Strike, Force Always
An attack that cannot be dodgedTag Dodge, Force Never
+30 % crit chance for this abilityTag Critical Strike, Chance bonus 30
+50 % crit damageTag Critical Strike, Magnitude bonus 50
Luck: a bonus to every chanceNo tag, Chance bonus 5 (not allowed together with Force Always)

The rules on an effect and the rules of the stats on the entity are all collected when the hit is worked out.

See also ​