Documentation

Actions and effects

Building a combat system: rolls, damage, healing and conditions that last.

An action is something a character does while writing in a scene: attack, heal, cast a spell. When the reply is published, the dice are rolled, the action is checked for success, and the stats of whoever receives it change.

An effect is what stays afterward: a poison that takes health on every reply, a blessing that raises defense for a while, a potion that heals on the spot. This page builds a small combat system step by step, with an example for each part.

What you need first

  • Stats, in Characters → Statistics: Health, Strength, Defense, whatever your system uses.
  • Dice, in Game rules → Dice: a D20, a D6.
  • If characters should be able to fall, the health stat, in Game rules → Defeat. With health at its minimum, a character is defeated.

In formulas, each stat is written as its name in lowercase, without accents and with underscores instead of spaces: Strength is strength and Hit points is hit_points. In front goes whose stat it is: caster. for whoever uses the action and target. for whoever receives it. The Variables & Syntax button in the form lists every name on your site.

How dice are read

Each action carries its own dice. When you add one, you choose which die it is, how many times it is thrown, and its variable: the name formulas read it by, such as d20.

That variable is not a number but the list of what each throw rolled. Three D6 might roll 2, 5 and 6. To use it in a formula, write the variable, the # sign, and what to do with the list:

You writeYou getWith 2, 5 and 6
d6#+The sum of every throw.13
d6#[>=4]How many throws rolled 4 or more.2

With a single throw, d20#+ is simply the number on the die: it is the most common form. The filter suits success-counting systems, where every die above a value is a hit.

Your first action: an attack

In Game rules → Actions, create an action called Attack. The form opens in simple mode, which is all a basic attack needs:

FieldValueWhat it is for
DiceA D20, variable d20, one throwWhat gets rolled.
Conditiond20#+ >= 10When it succeeds. Here, on a 10 or more.
ModifierHealth, Subtraction, 3 + caster.strengthWhat changes on a success: the target loses 3 plus the attacker's Strength.

If the condition is not met, the attack misses and nothing changes.

Three more options are also in simple mode:

  • Who can use it limits it to some factions or classes. A healing spell, for clerics only.
  • Several targets lets one roll hit several characters at once. The maximum can be a fixed number or a stat of whoever casts it.
  • Can target defeated appears when defeat is on. Turn it on for an action that heals or revives.
The form for a new action in simple mode: name, dice, success condition and modifier.

Advanced mode

The Advanced Mode switch in the form adds what a basic attack does not need:

OptionWhat it does
Several conditionsEach condition is checked separately against the same roll and applies only its own modifiers and effects. If none is met, the action fails.
Several modifiersOne condition can change several stats at once.
CasterA checkbox per modifier: applies it to whoever uses the action instead of whoever receives it.
ForceA checkbox per modifier: applies it even when the condition is not met.
EffectsThe effects the target receives when that condition is met.
BackfiresIf no condition is met, the modifiers and effects land on whoever used the action. Modifiers marked Caster then go to the target.
DifficultyLevels the user of the action picks from. Formulas read the chosen one as difficulty.

An action that uses any of these options always opens in advanced mode. If you turn the switch off while editing, the form drops whatever simple mode cannot show.

The same form with advanced mode on: several conditions, caster, force, effects and difficulty.

Example: the critical hit

Add a second condition to Attack:

  • Condition 1: d20#+ >= 10, subtracts 3 + caster.strength from Health.
  • Condition 2: d20#+ == 20, subtracts caster.strength from Health.

On a 20 both are met, so the hit does its normal damage plus the extra. On a 12, only the first.

Example: life drain

One condition with two modifiers: one subtracts 5 Health from the target, and the other, marked Caster, adds 5 Health to whoever casts it. To make it cost mana whether it lands or not, add a third that subtracts Mana, with Caster and Force checked.

Example: an unstable spell

Turn on Backfires for a Fireball. If the roll fails, the flames hit whoever cast it. Replies written as the narrator never backfire.

Example: choosing the difficulty

Add three difficulties: Easy with value 8, Normal with 12 and Hard with 16, with Normal as the default. The condition becomes d20#+ >= difficulty, and the writer picks the level when using the action.

Effects

Effects are created in Game rules → Effects. When you create one, you pick its kind:

KindHow it worksExample
Buff / DebuffChanges stats once, when it lands, and gives them back when it ends.Blessing: +3 Defense for 3 replies.
Effect Over TimeApplies its modifications on every tick until the ticks run out.Poison: −2 Health on each of 4 replies.
Instant EffectApplies once and ends there.Healing potion: +10 Health.

A tick is a reply by the character carrying the effect, in the scene where it received it. An effect belongs to that scene: if the character writes in another, it does not advance there. Ticks can be a number or a formula, such as caster.willpower, worked out once when the effect lands.

Besides its kind, an effect has:

  • Polarity: buff, debuff or neutral. It only changes how the effect is shown.
  • Types: labels you define, such as Poison or Curse, to group effects.
  • Effect removal: when it lands, it removes particular effects or every effect of some types. An instant antidote that removes the Poison type cures any poison.
Game rules → Effects: the list of the site's effects.

Effects in advanced mode

Advanced mode adds three options to effects:

  • Stacking Behavior: what happens when the effect lands on someone who already has it. In simple mode, the duration starts over.
  • Interval: how many replies each tick takes. A regeneration that heals every second reply.
  • Finish Modifications: changes applied once, when the effect ends. A rage that raises Strength and, when it wears off, leaves a point of Fatigue.
StackingIf the character already has the effect
StackAnother one starts and runs on its own. Two poisons, twice the damage.
RefreshThe duration starts over.
ReplaceThe old one is swapped for a new one, worked out again, and the duration starts over.
IntensifyThe effect grows stronger: its formulas are multiplied by the number of times it has landed.
NoneNothing happens.

Putting it together: a poisoned dagger

  1. Create an effect over time called Poison: −2 Health, 4 ticks, of type Poison.
  2. Create the action Poisoned dagger in advanced mode: condition d20#+ >= 12, subtract 2 + caster.agility from Health and, under Effects, pick Poison.
  3. Create an instant effect called Antidote: +1 Health, with effect removal on for the Poison type. Use it on an item or on a healing action.

When the dagger hits, the target loses health right away and 2 more on each of their next four replies in that scene, unless someone gives them the antidote.

How an effect's formulas read whoever cast it, and why those numbers do not change afterward, is covered in Effect formulas.