diff --git a/GroupInitiative/GroupInitiative.js b/GroupInitiative/GroupInitiative.js index 06af5d57f1..7ddc8199eb 100644 --- a/GroupInitiative/GroupInitiative.js +++ b/GroupInitiative/GroupInitiative.js @@ -5,8 +5,8 @@ var GroupInitiative = GroupInitiative || (function() { 'use strict'; - var version = '0.8.8', - lastUpdate = 1431382263, + var version = '0.8.9', + lastUpdate = 1431903099, schemaVersion = 0.8, intBaseSize = 10000, bonusCache = {}, @@ -169,6 +169,12 @@ var GroupInitiative = GroupInitiative || (function() { }, desc: 'Rounds down to the nearest integer.' }, + 'Tie-Breaker': { + func: function(v) { + return parseFloat((0.01*v).toFixed(2)); + }, + desc: 'Adds the accompanying attribute as a decimal (0.01)' + }, 'Ceiling': { func: function(v) { return Math.ceil(v); diff --git a/GroupInitiative/package.json b/GroupInitiative/package.json index 77eb56962f..201c50b13f 100644 --- a/GroupInitiative/package.json +++ b/GroupInitiative/package.json @@ -1,6 +1,6 @@ { "name": "GroupInitiative", - "version": "0.8.8", + "version": "0.8.9", "description": "Adds the selected tokens to the turn order after rolling their initiative + configurable data.", "authors": "The Aaron", "roll20userid": "104025",