-
Notifications
You must be signed in to change notification settings - Fork 0
Fate.js
Fate.js allows players to quickly spend a Fate Point from the chat window. Often times players have just failed a roll or will want to add a success to a passed test. These simple functions allow them to quickly spend a single Fate Point and immediately get a report of how many Fate Points remain.
The GM gains access to a function which allows them to swiftly reset the Fate Points of every token selected. This is a practice often undertaken by the GM at the beginning of each session.
!Fate - Makes every selected token attempt to spend a Fate Point. Each one will either report that they have cannot spent a Fate Point or they will report that the Fate Point is spent and how many Fate Points remain. Keep in mind that players can only select tokens that control. (Usable by players and gm).
!FateReset - Restores the Fate Points of every selected token to their Maximum. Reports the characters who had their Fate Points Reset, including those who already had their maximum number of Fate Points. If no valid tokens were selected, it alerts the gm. (gm only).
For these functions to work, the following must be true.
- Tokens must be linked to character sheets.
- Those character sheets must have an Attribute named Fate.
- The Current and Max values for the Fate Attribute must be valid numbers.
Later on I plan to store all of the chat:message events into one script. This way players can be alerted if they misspell a command or simply use the wrong API command.