This file contains hidden or 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
| const HEALTH_DESC = [ 'Unconcious', 'Near Death', 'Badly Injured', 'Injured', 'Barely Injured', 'Uninjured', 'Dead' ]; | |
| on('chat:message', function(msg) { | |
| // custom api macros | |
| if(msg.type == 'api') { | |
| if (msg.content.indexOf('!hp ') !== -1) { | |
| // get target | |
| var target = msg.content.replace('!hp ', ''); | |
| var tokens = findObjs({ type: 'graphic', subtype: 'token', id: target }, true); | |
| if (tokens.length == 0) { |
This file contains hidden or 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
| package com.github.vaerys.main; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import java.util.Timer; | |
| import java.util.TimerTask; | |
| class Watchdog { |
This file contains hidden or 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
| [15:28:13.134] [Info] Root: Preparing Root... | |
| [15:28:13.143] [Info] Root: Done preparing Root. | |
| [15:28:13.143] [Info] Client Version 1.3.2 (windows x86_64) Source ID: 4d70cfed23093a8e5abe06d662c6a5610fefc596 Protocol: 743 | |
| [15:28:13.143] [Info] Root: Scanning for asset sources in directory '..\assets\' | |
| [15:28:13.559] [Info] Root: Skipping asset directory '..\mods\', directory not found | |
| [15:28:13.559] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak' | |
| [15:28:13.559] [Info] Root: Detected unnamed asset source at '..\assets\user' | |
| [15:28:13.559] [Info] Loading assets from: '..\assets\packed.pak' | |
| [15:28:14.103] [Info] Loading assets from: '..\assets\user' | |
| [15:28:14.976] [Info] Assets digest is 563ff626b877e7d080472517395bc6c4eda613eaf6ac1576e95136a4ca9b3d64 |