mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-29 20:54:19 +00:00
correction calcul du bonus de maîtrise
This commit is contained in:
parent
dec60f684c
commit
bb84d3ab68
1 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ export function displayAbilityScore (score) {
|
||||||
|
|
||||||
// Calcul du bonus de maîtrise en fonction du niveau
|
// Calcul du bonus de maîtrise en fonction du niveau
|
||||||
export function getProficiencyBonus (level) {
|
export function getProficiencyBonus (level) {
|
||||||
|
if (level <= 1) {
|
||||||
|
return 2
|
||||||
|
}
|
||||||
return Math.ceil(level / 4) + 1
|
return Math.ceil(level / 4) + 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue