Sonné est un StatusEffect

This commit is contained in:
Vincent Vandemeulebrouck
2021-06-30 01:01:24 +02:00
parent e74f6b14d3
commit c857def360
9 changed files with 49 additions and 59 deletions

View File

@ -13,6 +13,10 @@ export class Misc {
return text.charAt(0).toUpperCase() + text.slice(1);
}
static lowerFirst(text) {
return text.charAt(0).toLowerCase() + text.slice(1);
}
static toSignedString(number) {
const value = parseInt(number)
const isPositiveNumber = value != NaN && value > 0;