1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-29 04:34:19 +00:00

correction calcul du bonus de maîtrise

This commit is contained in:
Maxime Moraine 2021-05-18 21:10:30 +02:00
parent dec60f684c
commit bb84d3ab68

View file

@ -26,6 +26,9 @@ export function displayAbilityScore (score) {
// Calcul du bonus de maîtrise en fonction du niveau
export function getProficiencyBonus (level) {
if (level <= 1) {
return 2
}
return Math.ceil(level / 4) + 1
}