Combat tab
This commit is contained in:
@@ -76,6 +76,15 @@ export class Hero6Utility {
|
||||
}) */
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------- */
|
||||
static getDerivatedDiceValue(value) {
|
||||
let dices = Math.floor(value/5) +"d6"
|
||||
if ( value % 5 > 2) {
|
||||
dices += "+1d3"
|
||||
}
|
||||
return dices
|
||||
}
|
||||
/*-------------------------------------------- */
|
||||
static upperFirst(text) {
|
||||
if (typeof text !== 'string') return text
|
||||
|
||||
Reference in New Issue
Block a user