Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Script:COFantasy"

From Roll20 Wiki

Jump to: navigation, search
 
(15 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{script overview
 
{{script overview
 
|name=COFantasy
 
|name=COFantasy
|author={{user profile|1794854|Ulty}}
+
|author={{user profile|1794854|Ulti}}
|version=0.1
+
|version=0.3
|lastmodified=2017-06-14
+
|lastmodified=2017-08-01
|code=The Darkness is Closing In
+
|code=COFantasy
|dependencies={{api repository link|Vector_Math}}
+
|dependencies={{api repository link|Vector Math}}
 
}}
 
}}
 +
 +
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 [https://github.com/Roll20/roll20-character-sheets/tree/master/ChroniquesOubliees 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.
 +
 +
== Documentation ==
 +
Since Chroniques Oubliée is a French game, [http://htmlpreview.github.io/?https://github.com/Ulty/roll20-api-scripts/blob/master/COFantasy/doc.html detailed instructions] are available in French.
 +
 +
== 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):
 +
{{syntaxbox top|Example|nocat=true}}
 +
{{API command|cof-attack @{selected{{!}}token_id} @{target{{!}}token_id} 1 --percant}}<br>
 +
{{API command|cof-statut}}<br>
 +
{{API command|cof-effet-temp chant_des_heros [[5+@{selected|CHA}]] --allies}}
 +
{{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

API ScriptAuthor: Ulti
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