Skip to content

Commit

Permalink
backend error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brightrim committed Feb 17, 2025
1 parent 92b3856 commit 6a85c3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions monster/base/spells/ring.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ return function(params)
end

local function attackField(pos, monster)

if not world:getField(pos) then
return
end

if gfxId > 0 then world:gfx(gfxId, pos) end
if itemId > 0 and not common.isItemIdInFieldStack(itemId, pos) and math.random() < itemProbability then
local qual = math.random(itemQualityRange[1], itemQualityRange[2]) * 100 +
Expand Down

0 comments on commit 6a85c3f

Please sign in to comment.