Difference between revisions of "Script:COFantasy"
From Roll20 Wiki
Laurent M. (Talk | contribs) |
Laurent M. (Talk | contribs) |
||
(6 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
{{script overview | {{script overview | ||
|name=COFantasy | |name=COFantasy | ||
− | |author={{user profile|1794854| | + | |author={{user profile|1794854|Ulti}} |
− | |version=0. | + | |version=0.3 |
− | |lastmodified=2017- | + | |lastmodified=2017-08-01 |
|code=COFantasy | |code=COFantasy | ||
|dependencies={{api repository link|Vector Math}} | |dependencies={{api repository link|Vector Math}} | ||
Line 16: | Line 16: | ||
The script provides functions to be used by players and others by GM, but without performing any check on that. Functions available to players should all be invoked from character abilities shown as token actions, whereas those for the GM would fit better in the macro bar. | The script provides functions to be used by players and others by GM, but without performing any check on that. Functions available to players should all be invoked from character abilities shown as token actions, whereas those for the GM would fit better in the macro bar. | ||
− | Examples of player functions: | + | Examples of player functions (attack with a piercing weapon, show state and buffs, casting a spell on allies): |
{{syntaxbox top|Example|nocat=true}} | {{syntaxbox top|Example|nocat=true}} | ||
− | {{API command|cof- | + | {{API command|cof-attack @{selected{{!}}token_id} @{target{{!}}token_id} 1 --percant}}<br> |
{{API command|cof-statut}}<br> | {{API command|cof-statut}}<br> | ||
{{API command|cof-effet-temp chant_des_heros [[5+@{selected|CHA}]] --allies}} | {{API command|cof-effet-temp chant_des_heros [[5+@{selected|CHA}]] --allies}} | ||
{{syntaxbox end}} | {{syntaxbox end}} | ||
+ | |||
+ | Example of GM macros (undo last action, start initiative tracking for selected tokens, end of fight): | ||
+ | {{syntaxbox top|Example|nocat=true}} | ||
+ | {{API command|cof-undo}}<br> | ||
+ | {{API command|cof-init}}<br> | ||
+ | {{API command|cof-hors-combat}} | ||
+ | {{syntaxbox end}} | ||
+ | |||
+ | == Change Log == | ||
+ | {{changelog version|0.1|2017-06-14|* Release}} |
Latest revision as of 13:19, 3 August 2017
Version: 0.3
Last Modified: 2017-08-01
Code: COFantasy
Dependencies: Vector Math
Conflicts: None
This script provides a number of utility functions to help with Chroniques Oubliées Fantasy, a French RPG edited by Black Book Edition. The script is intended to work with Natha's character sheet for Chroniques Oubliées. Main functionalities include attack and damage resolution and initiative tracker, with the intent to automate as much as possible from the rules. In addition, the script allows undoing most of the actions performed through its functions.
[edit] Documentation
Since Chroniques Oubliée is a French game, detailed instructions are available in French.
[edit] Script Use
The script provides functions to be used by players and others by GM, but without performing any check on that. Functions available to players should all be invoked from character abilities shown as token actions, whereas those for the GM would fit better in the macro bar.
Examples of player functions (attack with a piercing weapon, show state and buffs, casting a spell on allies):
!cof-attack @{selected|token_id} @{target|token_id} 1 --percant
!cof-statut
!cof-effet-temp chant_des_heros [[5+@{selected|CHA}]] --allies
Example of GM macros (undo last action, start initiative tracking for selected tokens, end of fight):
!cof-undo
!cof-init
!cof-hors-combat
[edit] Change Log
v0.1 (2017-06-14)
- Release