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

Script: Critical

From Roll20 Wiki

Jump to: navigation, search
API ScriptAuthor: RyanNerd
Version: 0.1
Last Modified: 2017-07-01
Code: Critical
Dependencies: None
Conflicts: None

This script lets you quickly display a critical hit result.

Contents

Syntax

!critical
!critical <percent>

Installation and Configuration

Critical is now available as a one click install option under the Character section of Roll20's script drop down.

You can still copy the script's code, available from the menu on the right and stored at Roll20's API GitHub Repository. Paste the code into a new script in your campaign's API Script Editor. Save the new script and it will be available inside your campaign.

Script Use

To use simply type !critical into the chat. A random percentage will be calculated and a result displayed.

Example output:
Critical Hit: 19% Hard Hit
Slash: 2x Damage.
Blunt: 2x Damage.
Pierce: 2x Damage.

If you include a percentage amount after the !critical command then that percentage will be used.

Example output for !critical 95
Critical Hit: 95% Head
Slash: Ear removed, lose helm.
Blunt: Skull hit, stunned 1 round, lose 2d4 INT
Pierce: Eye removed, lose helm.

Planned Future Features

  • Let users create and use their own critical charts.
  • Incorporate an actual die roll if the percent is not given.
  • Allow a marker to be placed on the target token indicating if they are bloodied, stunned, dead, etc.

Changelog

v0.1 (2017-01-05)

  • Initial release