This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
AutoMob5e.js by Spencer Moran. MIT License | |
This program automatically calculates mob combat attacks | |
and damage based on a few input values, complete with a | |
handy query macro to speed things along. You can modify the | |
generated macro if you want to save time with some default | |
values. | |
Intended for use with DND 5e. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LancerCoreHelper.js by Spencer Moran | |
// V. 1.5.01 - 6/6/2023 | |
// This script created to help automate some of the more tedious aspects of the LANCER system. | |
//PREREQUISITES AND DEPENDENCIES | |
// 1. 'Lancer status icons for Roll20' pack by Hayley - https://drive.google.com/drive/folders/1bY1GPvCP3jNajtXSElm40VM_REH5eQ6i | |
// is required to use the set-status buttons on the UI. Not having the correctly named token markers will cause | |
// the script to crash. A fix is in progress. Note that if you want to use a different set of markers an example macro has | |
// been created so you can still have access to the functionality. The get-status macro is token-agnostic. | |
// SEE WARNINGS->STATUS ICONS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//GmtkTimers.js by Spencer Moran | |
// This script adds functions and events for keeping track of the myriad of conditions imposed over the course of a game. | |
// Note, this does not use the state object and will reset if the script is relaunched or the game session is closed. | |
// | |
//Functions: | |
// AddTurnCounter - Adds a turn counter that updates whenever the turn order is changed. | |
// Initialize - Adds a macro to query the important details of the AddTurnCounter function. | |
// | |
//Single-use spin up actions | |
on('ready', function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LancerGMToolkit.js by Spencer Moran | |
// V. 1.3.05 - 2/4/2022 | |
//Toolset for building abilities and token macros to use with NPCs with weird sheets | |
// Intended for use with LancerCoreHelper.js | |
// Also includes a turntracker for Lancer Combat including Activations! | |
// To Start enter the command: | |
// !lncr_gmtk_init | |
// into the chat window | |
// | |
// NOTE: Some buttons require the LancerCoreHelper.js script to be installed. See this gist to pick it up: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// STEP 1: DEFINE YOUR DATABASE | |
// Define a var as below, assigning the contents of the JSON file as the content of the variable. | |
// EXAMPLE: | |
// var npcCoreClassData = [...]; | |
var npcCoreClassData = []; | |
var npcCoreFeatureData = []; | |
var npcCoreTemplateData = []; | |
// STEP 2: Add each of your global variables to their appropriate data sets below, delimited by commas |