From fec52cbac4ce5eedca0967925f9e403a8f32f5a4 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sat, 30 Nov 2024 01:17:00 -0800 Subject: [PATCH] don't vaporize caged or restrained wildlife --- fix/wildlife.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fix/wildlife.lua b/fix/wildlife.lua index bd80f2433..336cb701e 100644 --- a/fix/wildlife.lua +++ b/fix/wildlife.lua @@ -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