There is a bug in the createGMDicePool() function. In the case where there isn't already a "-DicePool" character, it will attempt to find it, use it, and only afterwards will it create it. This rewrite of the function should fix that issue. It starts on line 201 of the script.: eote.createGMDicePool = function() {
var charObj_DicePool = findObjs({ _type: "character", name: "-DicePool" })[0];
var attrObj_DicePool = [
{
name : 'pcgm',
current : 3,
max : '',
update : true
},
{
name : 'gmdicepool',
current : 2,
max : '',
update : true
}
];
//create character -DicePool
if ( ! charObj_DicePool ){
charObj_DicePool = createObj("character", {
name: "-DicePool",
bio: "GM Dice Pool"
});
}
eote.defaults['-DicePoolID'] = charObj_DicePool.id;
eote.updateAddAttribute(charObj_DicePool, attrObj_DicePool);
}