Merge branch 'master' into feature-custom-buffs

# Conflicts:
#	rpg-docs/client/views/character/inventory/itemDialog/itemDialog.html
#	rpg-docs/client/views/character/spells/spellDialog/spellDialog.html
This commit is contained in:
Jacob
2017-08-09 15:03:54 +01:00
36 changed files with 1091 additions and 666 deletions

View File

@@ -49,6 +49,12 @@ evaluate = function(charId, string, opts){
if (list && list.saveDC){
return evaluate(charId, list.saveDC);
}
}
if (spellListId && sub.toUpperCase() === "ATTACKBONUS") {
var list = SpellLists.findOne(spellListId);
if (list && list.attackBonus){
return evaluate(charId, list.attackBonus);
}
}
return sub;
});