rename /rpg-docs to /app
This commit is contained in:
7
app/lib/functions/characterUtility.js
Normal file
7
app/lib/functions/characterUtility.js
Normal file
@@ -0,0 +1,7 @@
|
||||
getMod = function(score){
|
||||
return Math.floor((score - 10) / 2);
|
||||
};
|
||||
|
||||
signedString = function(number){
|
||||
return number >= 0 ? "+" + number : "" + number;
|
||||
};
|
||||
Reference in New Issue
Block a user