Skip to content

Commit

Permalink
Merge pull request #1342 from myk002/myk_wildlife_caged
Browse files Browse the repository at this point in the history
[fix/wildlife] don't vaporize caged or restrained wildlife
  • Loading branch information
myk002 authored Nov 30, 2024
2 parents e71f214 + fec52cb commit f8af306
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 f8af306

Please sign in to comment.