Changed how effects are applied and removed to enable effects expiring after a set duration.
This commit is contained in:
7
rpg-docs/lib/functions/characterUtility.js
Normal file
7
rpg-docs/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