Skip to content

Commit

Permalink
don't vaporize caged or restrained wildlife
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Nov 30, 2024
1 parent e71f214 commit fec52cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fix/wildlife.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ local function unstick_surface_wildlife(opts)
if not is_active_wildlife(unit) or unit.animal.leave_countdown > 0 then
goto skip
end
if unit.flags1.caged or unit.flags1.chained then
goto skip
end
if not check_timeout(opts, unit, week_ago_ticks) then
goto skip
end
Expand Down

0 comments on commit fec52cb

Please sign in to comment.