Skip to content

Commit

Permalink
adjust new formula magic shield
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospess0a committed Apr 17, 2024
1 parent 239ddee commit ee156b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/scripts/spells/support/magic_shield.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function spell.onCastSpell(creature, var)
condition:setParameter(CONDITION_PARAM_TICKS, 180000)
local player = creature:getPlayer()
local grade = player:upgradeSpellsWOD("Magic Shield")
local shield = 300 + 7.6 * player:getLevel() + 7 * player:getMagicLevel()
local shield = 8 * player:getLevel() + 7 * player:getMagicLevel()
if grade >= WHEEL_GRADE_REGULAR then
shield = shield * 1.25
end
Expand Down

0 comments on commit ee156b5

Please sign in to comment.