Skip to content

Commit eb89c1c

Browse files
committed
dont target lukki minion as notplayer
1 parent bbb9224 commit eb89c1c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

quant.ew/files/system/notplayer_ai/notplayer_ai.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,8 @@ local function find_target()
12751275
if EntityGetFilename(id) ~= 'data/entities/misc/invisibility_last_known_player_position.xml'
12761276
and EntityGetComponent(id, "GenomeDataComponent") ~= nil
12771277
and EntityGetComponent(root_id, "GenomeDataComponent") ~= nil
1278-
and EntityGetHerdRelation(root_id, id) < 40 then
1278+
and EntityGetHerdRelation(root_id, id) < 40
1279+
and EntityGetFilename(id) ~= "data/entities/misc/perks/lukki_minion.xml" then
12791280
local t_x, t_y = EntityGetTransform(id)
12801281
local did_hit, _, _ = RaytracePlatforms(x, y, t_x, t_y)
12811282
local dx = x - t_x

0 commit comments

Comments
 (0)