Skip to content

StatReset.js

kyleady edited this page Jan 31, 2017 · 3 revisions

Purpose

Allows the gm to quickly reset every stat and remove all status markers of every selected character. This is often used when the characters take a long narrative rest, allowing them to recover any Damage, temporary Toughness loss, Fatigue, or status effects they may have incurred earlier. This can also be used to heal NPCs so that you can duplicate a damaged one and quickly heal the duplicate.

Usage

!Reset [Token]

!Everything = Max (GM only)

Checks if a selected token is linked to a character. If so, it will do the following

  • Set each attribute the linked character has to its max value.
  • Set each bar the token has to its max value.
  • Remove any status markers on the graphic.
  • Deletes any gmnotes on the graphic (specifically to target any local attributes left by AttributeValue.js)

Even though certain attributes may be linked to the character sheet, and resetting them on the character sheet will reset them on the token, the double work accounts for when the bars are not linked to any attributes.

Requirements

Clone this wiki locally