Add flat value management for attack skill and spell.

This commit is contained in:
Andres Gomez, Thomas (ITDV RL) 2024-06-03 18:11:58 +02:00
parent 8e9529d4d0
commit 2cc1a0ea70
13 changed files with 262 additions and 119 deletions

View file

@ -843,7 +843,7 @@ class DiceThrowUseCase @Inject constructor(
)
// fetch and build a list of additional level effect.
val levelBonus = if (spell?.level != null) {
val levelBonus = if (spell?.level?.dice != null) {
((spell.spell.level + 1)..level).map {
val localRoll = roll(
amount = spell.level.dice.count,