Added dburles:collection-helpers to fix transformations

This commit is contained in:
Thaum
2014-11-04 07:12:59 +00:00
parent 5fdbb8398f
commit 20340fac77
5 changed files with 4 additions and 13 deletions

View File

@@ -153,7 +153,7 @@ Character = function(owner){
}
//functions and calculated values go here
protoCharacter = {
Characters.helpers({
attributeValue: function(attribute){
if (attribute === undefined) return;
//base value
@@ -282,7 +282,7 @@ protoCharacter = {
}
}
}
}
});
getMod = function(score){
return Math.floor((score-10)/2);