Inline Rolls Reference

Accessing the Inline Rolls Reference Dialog

The system includes a helpful dialog to show common attributes used in inline rolls. To access it, go to the Settings tab of Foundry's right sidebar and then click the Attributes and Inline Rolls Reference button to open the dialog. It shows the most common properties used by powers in the system's included compendiums, along with an example attack roll and damage roll for martial characters.

Where Inline Rolls Can be Placed

Inline rolls can be placed inside any text or text editor field in powers you add to your character or world, along with monster actions. The parsing for inline rolls happens in chat messages during render, so you can even put them directly in the chat box!

An Example of an Inline Roll

Before we go into detail on the available attributes, here's a few examples:

Attack Rolls

  • Attack: [[d20+@str.mod+@std+@atk.m.bonus]] vs. AC

What that's saying is d20 + Strength modifier + standard bonuses (level, escalation die, attack penalties) + melee magic item bonuses.

Damage Rolls

  • Hit: [[@wpn.m.dice+@str.dmg+@atk.m.bonus]] damage

  • Miss: [[@lvl]] damage

Your character sheet has a setting where you can define the weapon dice associated with it, such as a d10, an the @wpn.m.dice attribute will be your damage dice per level, such as 5d10 for a 5th level fighter with a heavy greatsword. Similarly, @str.dmg will be your strength bonus multiplied per tier, such as +8 for a strength of 18 at 5th level.

Special Damage Rolls

But what if you have something like the cleric's Hammer of Faith ability and need to use a different damage die? There's also a @wpn.m.die attribute that will give you a single die, so you could do this to do your level in a different damage die:

  • Hit: [[(@lvl)@wpn.m.die+@str.dmg+@atk.m.bonus]] damage

  • Hit: [[(@lvl)d12+@str.dmg+@atk.m.bonus]] damage

Basic Math

You can also perform basic math in your rolls, such as [[2d10*10]] or [[floor(d12/2)]]

If you need to select between two ability scores, you can use min() to select the lower, or max() to select the higher. For example:

[[d20+max(@str.mod,@dex.mod)+@std+@atk.m.bonus]] for a ranger's melee attack roll.

Attributes Reference

Attribute

Description

@str.mod

Ability score modifiers, such as +5 for a 20.

Variants:

  • @str.mod (strength)

  • @dex.mod (dexterity)

  • @con.mod (constitution)

  • @int.mod (intelligence)

  • @wis.mod (wisdom)

  • @cha.mod (charisma)

@str.dmg

Ability score modifiers multipled by tier, such as +10 for a score of 20 at 5th level.

Variants:

  • @str.dmg (strength)

  • @dex.dmg (dexterity)

  • @con.dmg (constitution)

  • @int.dmg (intelligence)

  • @wis.dmg (wisdom)

  • @cha.dmg (charisma)

@lvl

Your level

@ed

The current escalation die value for the current combat/scene

@init

Your initiative bonus

@std

Standard bonuses for attack rolls. This is calculated as @lvl+@ed+penalties if any (such as having negative remaining recoveries).

@tier

A number that can be used for cases where you need to multiply by tier. 1 at adventurer tier, 2 at champion tier, and 3 at epic tier.

@wpn.m.die

The single die associated with your melee damage rolls, such as d10.

Variants:

  • @wpn.m.die (melee)

  • @wpn.r.die (ranged)

  • @wpn.j.die (JAB)

  • @wpn.p.die (PUNCH)

  • @wpn.k.die (KICK)

@wpn.m.dice

The total dice per level associated with your melee damage rolls, such as 5d10 for a 5th level fighter with a heavy weapon.

Variants:

  • @wpn.m.dice (melee)

  • @wpn.r.dice (ranged)

  • @wpn.j.dice (JAB)

  • @wpn.p.dice (PUNCH)

  • @wpn.k.dice (KICK)

@atk.m.bonus

The item bonus for your magic item's attack and damage rolls.

Variants:

  • @atk.m.bonus (melee weapons)

  • @atk.r.bonus (ranged weapons)

  • @atk.a.bonus (arcane implements)

  • @atk.d.bonus (divine implements)

Last updated