diff --git a/data-otservbr-global/scripts/spells/attack/divine_grenade.lua b/data-otservbr-global/scripts/spells/attack/divine_grenade.lua index 59a83f89c99..21c6607e320 100644 --- a/data-otservbr-global/scripts/spells/attack/divine_grenade.lua +++ b/data-otservbr-global/scripts/spells/attack/divine_grenade.lua @@ -7,6 +7,17 @@ function onGetFormulaValues(player, level, maglevel) local min = (level / 5) + (maglevel * 4) local max = (level / 5) + (maglevel * 6) + local grade = player:upgradeSpellsWOD("Divine Grenade") + + local multiplier = 1.0 + if grade ~= WHEEL_GRADE_NONE then + local multiplierByGrade = { 1.3, 1.6, 2.0 } + multiplier = multiplierByGrade[grade] + end + + min = min * multiplier + max = max * multiplier + return -min, -max end