Repository navigation
Damage Formulas
Damage and healing formulas are Foundry dice formulas with a few CrawlSpace words added. This page covers where formulas go, what you can write in them, and how the system builds and rolls them.
| Where | Field | What it is |
|---|---|---|
| Skill or spell | Damage/Healing block: the formula | The damage at Rank 1 and up. Tick the block's Healing box to make it healing instead (health slots, not hit points). |
| Skill or spell | The damage box on each Rank upgrades row (Rank 5, 10, 15) | Replaces the formula from that rank on. Leave blank to keep the one before. With Healing ticked, these are healing boxes. |
| Skill or spell | The damage types on each Rank upgrades row | Replace the damage types from that rank on (see Damage types). |
| Spell | Each Cast option's Damage and Healing | Blank keeps the spell's. Starting with + or − changes the spell's at its rank (−4, +RANK_DIE); anything else replaces it (3d4+INT). |
| Weapon | Damage | Added on top of the weapon skill's damage (see Weapons). |
| Ammunition | Damage | Special ammunition's extra damage, added to attacks that spend it. |
| Consumable | Damage | A thrown or used item's own damage. |
| Custom Attacks row (Add attack) | Damage formula | Replaces the row's damage entirely. Leave blank to use the weapon or skill damage. |
| Custom Attacks row (Add attack) | Damage Bonus | Added to the row's damage. |
| Mob attack (the pen) | Damage | The mob's damage for that attack, often 1d8+F style. (Published to hit takes 15+F style values the same way.) |
| Effect | Damage Bonus rule element | Added to every attack it covers (see Damage bonuses from effects). |
Anything Foundry's dice roller accepts works:
| Formula | Means |
|---|---|
1d8 |
One eight-sided die. |
2d6+3 |
Two d6 plus 3. |
1d8+1d4 |
Two different dice added together. |
3*1d6 |
One d6 multiplied by 3. |
2d20kh |
Roll two d20 and keep the highest. |
(1d6+2)*2 |
Parentheses group parts. |
Spaces are ignored. Results are rounded down wherever the system divides damage.
| Word | Becomes | Example |
|---|---|---|
RANK |
The skill's or spell's current rank (after effects). |
1d6+RANK at Rank 7 is 1d6+7. |
RANK_DIE |
The die for the current rank (table below). |
RANK_DIE+2 at Rank 8 is 1d8+2. |
STR, INT, CON, DEX, CHA
|
That stat's modifier. STR MOD works too. |
1d8+STR with a STR modifier of 3 is 1d8+3. |
F |
The current floor. Must be a capital F on its own. |
1d8+F on Floor 4 is 1d8+4. |
You can multiply the rank die: 2*RANK_DIE rolls the rank die twice.
Rank dice (Core Rulebook p.176):
| Rank | RANK_DIE |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2–3 | 1d2 |
| 4–5 | 1d4 |
| 6–7 | 1d6 |
| 8–9 | 1d8 |
| 10–11 | 1d10 |
| 12–13 | 1d12 |
| 14–15 | 1d8+1d6 |
| 16–17 | 2d8 |
| 18–19 | 1d10+1d8 |
| 20 | 2d10 |
Formulas can also use Foundry's @ roll data from the attacker:
| Key | Value |
|---|---|
@str, @int, @con, @dex, @cha
|
The enhanced stat score. |
@strMod, @intMod, … |
The stat modifier (the same as writing STR). |
@floor or @F
|
The current floor. |
@level |
The level. |
@evade, @dr
|
Crawlers only: total Evade and DR. |
@slotsLost |
Health Bar slots lost so far. A rage-style bonus such as +1 per slot lost is @slotsLost. |
Put a space after a reference before a minus sign: @intMod - 2, not @intMod-2. Foundry reads @intMod-2 as one missing key and rolls it as 0.
The highest Rank upgrades damage the rank has reached is used (Rank 15, then 10, then 5); with none filled in, Damage is used. RANK and RANK_DIE are filled in for the current rank, so the sheet and the Attacks table show the formula you will actually roll.
A weapon's attack rolls its skill's damage plus the weapon's own Damage:
- A Handgun skill with
RANK_DIEand a handgun with1d4rollsRANK_DIE+1d4. - A weapon with no skill damage rolls only its own Damage.
- A custom Attacks row's Damage formula (set when you Add attack) replaces all of it. Its Damage Bonus adds to whatever the row rolls. Rows made from your gear have no editor: change the weapon or skill instead.
- Ammunition adds its own damage on top, and special ammunition can add or replace damage types (see Ammunition).
A Damage Bonus rule element adds its formula to every attack it covers: weapon attacks, skill attacks, spells, or only attacks made with the skills, spells or weapons it names. It can add damage types and Armor Piercing.
-
RANKandRANK_DIEin a bonus use the rank of the skill or spell that owns the effect, or else the attack's rank. - A condition with stacks multiplies its bonus: 3 stacks of
+2adds3*(2). -
Fin a bonus is the floor, as in any formula. - A bonus can cover melee attacks or ranged attacks only, as well as weapon, skill or spell attacks, or named ones.
A damage effect skill changes attacks made with other skills. On those attacks it is a tick box in the roll dialog. Aiming is one; so are many unarmed combat skills.
Setting one up. On the skill's Details tab, tick Damage effect skill. Then fill in:
| Field | What it does |
|---|---|
| Modifies attacks with | The attack skills it works with. Tick or untick the listed ones, or type a name in Add a skill. |
| Add this skill's Rank to the attack roll | Its Rank is added to hit when it is ticked. |
| Attack roll | Normal, Advantage or Disadvantage when it is ticked (Aiming: Disadvantage). |
| Damage | Adds its damage, multiplies the base dice, or multiplies the total damage (see below). |
| Condition | None: you tick it by hand. Target's health at or below: see Conditions. |
The numbers go where an item's numbers always go: the Damage section for Rank 1, and the Rank upgrades rows for Rank 5, 10 and 15. A blank Rank upgrade box keeps the value from before.
Damage has three choices:
| Choice | Ticked, it… | Example (Rank 3, attack 1d6+STR, a +2 buff) |
|---|---|---|
| Adds its damage (the default) | Adds the skill's own damage at its Rank. Its base doubles on a Critical; its Rank dice don't. |
1d6+STR+2 plus the skill's damage |
| Multiplies the base dice | Puts the attack's dice in brackets and multiplies them, then adds modifiers and buffs. Rank dice count as base dice. | Multiplier RANK: (1d6)*3+STR+2
|
| Multiplies the total damage | Multiplies the whole damage, buffs and an Amazing Hit's floor included. | Multiplier 2: (1d6+STR+2)*2
|
With either multiply choice, the Damage section turns into Multiplier, and the Rank upgrades' damage boxes become multiplier boxes. A multiplier is a number, or uses RANK like a damage formula: RANK, RANK*2. Results round down. For example, a multiplier of 2 with 4 in the Rank 10 row and 8 in the Rank 15 row is ×2 at Ranks 1-9, ×4 at Ranks 10-14 and ×8 from Rank 15.
On a Critical, the dice are doubled first and then multiplied: (2d6)*3+STR+2. The attack card shows a tag such as base dice ×3 or total damage ×2, and the damage buttons roll the multiplied formula. The Damage section's title shows what the values come to at the skill's current Rank, for example At Rank 10: total damage ×4, target at 40% health or less.
With Target's health at or below, a Health % trigger box appears in the Damage section (for Rank 1) and on each Rank upgrade row (blank keeps the one before). The option reads your current targets, so target them before you attack:
- Every target is at or below the trigger: the box starts ticked. You can still untick it.
- No target, or a target above it: the box is greyed out and can't be ticked, and says why, for example City Elf is at 36% health (needs 15% or less).
Health is a crawler's health bar, or a mob's slots left out of its slots.
Cooldowns. A damage effect skill with a Cooldown starts it when the attack is made with the box ticked. While it runs, the box is greyed out with the time left. The Rank upgrade rows have a cooldown box too: see Cooldowns that change with Rank.
Advancement. When a damage effect is ticked, only one of the skills used is marked for advancement. If more than one could be, you are asked which.
The Game Content module comes with its damage effect skills set up, including the multiplying ones. Copies already in your world keep their old settings until you drag them in again from the compendium, or set them by hand. The Skill Creator can make homebrew damage effects.
The attack card's damage buttons roll the same formula three ways:
| Button | Rolls |
|---|---|
| Damage | The formula as written. |
| Amazing | The formula plus the floor (+F). |
| Critical | Every die in the formula doubled (2d6 becomes 4d6). Flat numbers are not doubled. |
On a Critical, rank dice and effect damage bonuses are not doubled. They are added once. So 2d6+RANK_DIE at Rank 8 rolls 4d6+1d8, not 4d6+2d8.
A ticked damage effect can then multiply the dice or the total.
A skill or spell picks its damage types in its Damage/Healing block. Each Rank upgrades row (Rank 5, 10, 15) has its own damage types: fill them in to change the types from that rank on, or leave them empty to keep the ones before. A spell's cast option can name its own types too. Hover an Attacks row's damage button to see the types it will use at its current rank.
For example, a bolt that is Fire until Rank 10 and Fire, Lightning from Rank 10 has Fire in the block and Fire and Lightning on the Rank 10 row.
When an attack has more than one damage type, the total is split evenly between them, rounded down, and each share meets the target's resistances, vulnerabilities and immunities on its own. 10 damage that is Fire and Piercing is 5 Fire and 5 Piercing; a target resistant to Fire takes 2 + 5 = 7. See Combat for the full order damage goes through.
Healing uses the same Damage/Healing block with its Healing box ticked. The formula uses the same words, but the result is health slots, not hit points: 1+RANK_DIE heals 1 slot plus the rank die. The Rank upgrade rows' boxes then hold healing, and replace it from those ranks, the same way damage does.
A few older items, such as an attack that also heals its caster, keep a separate Healing block with From Rank 5 / 10 / 15 boxes.
Healing a creature above 0 health clears its Dead and Dying status and its defeated mark in the combat tracker.
| Formula | Rank 6, STR mod 2, Floor 3 | Critical |
|---|---|---|
1d8+STR |
1d8+2 |
2d8+2 |
RANK_DIE+RANK |
1d6+6 |
1d6+6 (rank die added once) |
2d6+F |
2d6+3 |
4d6+3 |
1d10+2*RANK_DIE |
1d10+1d6+1d6 |
2d10+1d6+1d6 |
(1d4+STR)*2 |
(1d4+2)*2 |
(2d4+2)*2 |
- The Attacks table shows each row's damage with
RANKandRANK_DIEalready filled in. Hover the damage button to see its types. - Fill skill damage from compendium, on the Skills tab, copies damage formulas onto skills and spells that are missing them.
- A formula Foundry can't read shows an error when you roll it. Check for missing
+signs, lowercasef(the floor must beF), and unclosed parentheses.
Getting started
Playing
Running the game
- GM Guide
- Boss Battles
- Personal Spaces
- Gear Sets
- Atlas Journals
- Automation
- Effects and Rules
- Damage Formulas
Modules
Advanced