Skip to content

Commit

Permalink
Resolve error thrown for doing math with a boolean after lua change for
Browse files Browse the repository at this point in the history
  • Loading branch information
Codinablack committed Dec 14, 2024
1 parent 575d957 commit 79f0ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/scripts/actions/others/spellbook.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function spellbook.onUse(player, item, fromPosition, target, toPosition, isHotke
if spell.manapercent > 0 then
spell.mana = spell.manapercent .. "%"
end
if spell.params > 0 then
if spell.params then
spell.words = spell.words .. " para"
end
spells[#spells + 1] = spell
Expand Down

0 comments on commit 79f0ffa

Please sign in to comment.