diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua index 982641e738..73f5beff3c 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/ai.lua @@ -167,7 +167,7 @@ end - +--the main loop mobs.mob_step = function(self, dtime) --do not continue if non-existent diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/combat_interaction.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/combat_interaction.lua new file mode 100644 index 0000000000..5ba67b28c5 --- /dev/null +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/combat_interaction.lua @@ -0,0 +1 @@ +--make mobs scan players and check distance then if direct line of sight then add to list and go after whichever one is closer \ No newline at end of file