Skip to content

Formula Reference ​

Every value a formula can read with an @ reference, and which kinds of actor have it. For how to write formulas, see Formulas & References.

In the tables, Yes means the actor has the value. Late means the actor has it, but the system calculates it after some rules have already resolved their formulas (see Values calculated late). An empty cell means the actor does not have the value.

Shortcuts ​

ReferenceValueCharacterNPC, minion, solo monster
@levelCharacter level.Yes
@keyThe highest modifier among the character's class key stats.Yes
@strength, @dexterity, @intelligence, @willStat modifiers.Yes
@strengthSave, @dexteritySave, @intelligenceSave, @willSaveSaving throw modifiers.YesLate
@arcana, @examination, @influence, @insight, @might, @lore, @naturecraft, @perception, @finesse, @stealthSkill modifiers.Yes

Full paths ​

Write any of these with @ in front, for example @attributes.wounds.value.

  • <stat> is one of: strength (Strength), dexterity (Dexterity), intelligence (Intelligence), will (Will).
  • <skill> is one of: arcana (Arcana), examination (Examination), influence (Influence), insight (Insight), might (Might), lore (Lore), naturecraft (Naturecraft), perception (Perception), finesse (Finesse), stealth (Stealth).
ReferenceValueCharacterNPCMinionSolo monster
@abilities.<stat>.baseValueStat modifier as entered on the sheet, before bonuses.Yes
@abilities.<stat>.bonusBonus to the stat modifier from rules.Yes
@abilities.<stat>.modStat modifier, with every bonus included. Same as @<stat>.Yes
@attributes.armor.valueArmor value, after armor, shields and Armor Class rules.Late
@attributes.dyingActionLimitActions the character can take while Dying.Yes
@attributes.hp.bonusBonus to maximum hit points entered on the sheet.Yes
@attributes.hp.maxMaximum hit points.YesYesYesYes
@attributes.hp.tempTemporary hit points.YesYesYesYes
@attributes.hp.valueCurrent hit points.YesYesYesYes
@attributes.initiative.modInitiative modifier.Late
@attributes.movement.burrowBurrowing speed.YesYesYesYes
@attributes.movement.climbClimbing speed.YesYesYesYes
@attributes.movement.flyFlying speed.YesYesYesYes
@attributes.movement.swimSwimming speed.YesYesYesYes
@attributes.movement.walkWalking speed.YesYesYesYes
@attributes.wounds.bonusBonus to maximum wounds, for example from a Max Wounds rule.Yes
@attributes.wounds.maxMaximum wounds: 6 plus @attributes.wounds.bonus.Late
@attributes.wounds.valueCurrent wounds.Yes
@currency.cp.valueCopper pieces carried.Yes
@currency.gp.valueGold pieces carried.Yes
@currency.sp.valueSilver pieces carried.Yes
@details.levelMonster level. Stored as text such as 1/2, so put it in parentheses when you divide by it: 10 / (@details.level).YesYesYes
@inventory.bonusSlotsExtra inventory slots.Yes
@inventory.totalSlotsTotal inventory slots: 10 plus STR plus bonus slots.Late
@inventory.usedSlotsInventory slots in use.Late
@resources.highestUnlockedSpellTierHighest spell tier the character can cast.Late
@resources.mana.baseMaxBase part of maximum mana, before class mana is added.Yes
@resources.mana.currentCurrent mana.Yes
@resources.mana.maxMaximum mana.Late
@resources.mana.valueCurrent mana. Same as @resources.mana.current.Late
@savingThrows.<stat>.bonusBonus to the saving throw from rules or the sheet.YesYesYesYes
@savingThrows.<stat>.modSaving throw modifier. Same as @<stat>Save.YesLateLateLate
@skills.<skill>.bonusBonus to the skill from rules.Yes
@skills.<skill>.modSkill modifier, with every bonus included. Same as @<skill>.Yes
@skills.<skill>.pointsSkill points spent on the skill.Yes

Values calculated late ​

The system prepares an actor in steps, and rules resolve their formulas at different steps.

  • Early rules do not see late values. Stat Bonus, Skill Bonus, Save Bonus, Wounds, Hit Dice, Increment Hit Dice and Healing Potion Bonus resolve their formulas before the values marked Late are calculated, so they do not get the correct number from them.
  • Later rules see most late values. Armor Class and Initiative Bonus resolve after them. The exception is @attributes.armor.value, which is calculated after every rule.
  • Activation formulas are safe. Formulas in an item's activation (damage, healing, and similar) resolve when the item is used, after the actor is fully prepared. Every value on this page is safe there.
  • Values marked Yes can still change. Other rules can change a value after an early rule has read it, for example a stat modifier or a speed. An early rule sees the value as it is at that moment.
  • Calculate it yourself when you can. In an early rule, write 6 + @attributes.wounds.bonus instead of @attributes.wounds.max. The bonus includes only the Wounds rules that have already run.

Released under the MIT License.