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
var spinme = function(otoken) { | |
otoken.set({rotation: otoken.get("rotation")+10}); | |
if(otoken.get("rotation") === 360){ | |
otoken.set({rotation: 0}); | |
}; | |
log(otoken.get("rotation")); | |
} | |
on('chat:message', function(msg) { | |
if(!(msg.selected && msg.selected.length > 0)) return; // Make sure there's a selected object |
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
h3 { | |
font-family: times; | |
} | |
.charsheet input[type=text].sheet-char_name { | |
display: inline-block; | |
width: 90%; | |
font-family: "Times"; | |
font-size: 24px; | |
text-align:center; |
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
// WoD Damage/Status Tracker v1.2 | |
// Bashing, Lethal, and Aggrivated damage are marked on the selected token | |
// The 'API' commands are, "!b", "!l", "!a" respectively. | |
// I.E. "!b 3" would put 3 bashing on the token. | |
// If there is a character attached to the token and it has the attirbutes 'Bashing','Lethal','Aggrivated','Health','Vitae' | |
// then the script will record and update the sheet as well as automatically applying a wound penalty status icon. | |
// The status icons being used are Bashing = 'fist', Lethal = 'skull', Aggrivated = 'chemical-bolt', Wounded = 'pummeled' | |
on('chat:message', function(msg) { | |
if(msg.type != 'api') return; |
NewerOlder