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
var handleammo = function (msg,character,player) { | |
if(msg.content.indexOf("ammo=") === -1) { | |
// UNABLE TO FIND AMMO | |
return; | |
} | |
var ammostr; | |
if(msg.content.indexOf("{{charname=") > -1) { | |
ammostr = (msg.content.split("ammo=")[1]||'').split(" {{charname=")[0]; | |
} | |
else { |
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
/** | |
* Inventory Tracker for 5e OGL character sheet | |
* | |
* Allows for quick access to the equipped items of a character. | |
* | |
* Commands: | |
* !equipShow [--item|<ITEM_NAME> [--charid|<CHARACTER_ID>]] | |
* Shows the equipped item(s) for the character that belongs to the selected token. | |
* If no arguments are given, displays all equipped items of the character representing the selected token. | |
* |
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
@{wtype} &{template:default}{{name=Saving Throws}}{{Str Save=[[1d20+[[@{npcd_str_mod}*{1@{npc_str_save}0,0}=10+0@{npcd_str_save}]]]]|[[1d20+[[@{npcd_str_mod}*{1@{npcd_str_save}0,0}=10+0@{npcd_str_save}]]]]}}{{Dex Save=[[1d20+[[@{npcd_dex_mod}*{1@{npc_dex_save}0,0}=10+0@{npcd_dex_save}]]]]|[[1d20+[[@{npcd_dex_mod}*{1@{npcd_dex_save}0,0}=10+0@{npcd_dex_save}]]]]}}{{Con Save=[[1d20+[[@{npcd_con_mod}*{1@{npc_con_save}0,0}=10+0@{npcd_con_save}]]]]|[[1d20+[[@{npcd_con_mod}*{1@{npcd_con_save}0,0}=10+0@{npcd_con_save}]]]]}}{{Int Save=[[1d20+[[@{npcd_int_mod}*{1@{npc_int_save}0,0}=10+0@{npcd_int_save}]]]]|[[1d20+[[@{npcd_int_mod}*{1@{npcd_int_save}0,0}=10+0@{npcd_int_save}]]]]}}{{Wis Save=[[1d20+[[@{npcd_wis_mod}*{1@{npc_wis_save}0,0}=10+0@{npcd_wis_save}]]]]|[[1d20+[[@{npcd_wis_mod}*{1@{npcd_wis_save}0,0}=10+0@{npcd_wis_save}]]]]}}{{Cha Save=[[1d20+[[@{npcd_cha_mod}*{1@{npc_cha_save}0,0}=10+0@{npcd_cha_save}]]]]|[[1d20+[[@{npcd_cha_mod}*{1@{npcd_cha_save}0,0}=10+0@{npcd_cha_save}]]]]}} |