diff --git a/quant.ew/files/system/notplayer_ai/notplayer_ai.lua b/quant.ew/files/system/notplayer_ai/notplayer_ai.lua index 543b964e..cec2a083 100644 --- a/quant.ew/files/system/notplayer_ai/notplayer_ai.lua +++ b/quant.ew/files/system/notplayer_ai/notplayer_ai.lua @@ -418,7 +418,7 @@ local throw = false local function fire_wand(enable) if state.is_pheremoned ~= -120 then - if state.is_pheremoned >= ComponentGetValue2(state.damage, "mLastDamageFrame") then + if state.is_pheremoned >= ComponentGetValue2(state.damage_model, "mLastDamageFrame") then if has_pheremoned(ctx.my_player.entity) then enable = false else