From 448387546cfdda5c22f1e376c3553da9007e5997 Mon Sep 17 00:00:00 2001 From: MrCraigTunstall Date: Sun, 14 Oct 2018 15:47:28 +0100 Subject: [PATCH] Added more target ents --- lua/d3bot/sv_config.lua | 2 +- lua/d3bot/sv_zs_bot_handler/handlers/undead_fallback.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/d3bot/sv_config.lua b/lua/d3bot/sv_config.lua index fb5d02a6..c087da10 100644 --- a/lua/d3bot/sv_config.lua +++ b/lua/d3bot/sv_config.lua @@ -11,7 +11,7 @@ D3bot.NodeBlocking = { classes = {func_breakable = true, prop_physics = true, prop_dynamic = true, prop_door_rotating = true, func_door = true, func_physbox = true, func_physbox_multiplayer = true, func_movelinear = true} } -D3bot.NodeDamageEnts = {"prop_*turret", "prop_arsenalcrate", "prop_resupply"} +D3bot.NodeDamageEnts = {"prop_*turret", "prop_arsenalcrate", "prop_resupply", "prop_drone*", "prop_remantler"} D3bot.BotAttackDistMin = 100 D3bot.LinkDeathCostRaise = 300 diff --git a/lua/d3bot/sv_zs_bot_handler/handlers/undead_fallback.lua b/lua/d3bot/sv_zs_bot_handler/handlers/undead_fallback.lua index 18e72729..c1299ff1 100644 --- a/lua/d3bot/sv_zs_bot_handler/handlers/undead_fallback.lua +++ b/lua/d3bot/sv_zs_bot_handler/handlers/undead_fallback.lua @@ -125,7 +125,7 @@ end -- Custom functions and settings -- ----------------------------------- -local potTargetEntClasses = {"prop_*turret", "prop_arsenalcrate", "prop_manhack*"} +local potTargetEntClasses = {"prop_*turret", "prop_arsenalcrate", "prop_manhack*", "prop_drone*", "prop_remantler"} local potEntTargets = nil function HANDLER.CanBeTgt(bot, target) if not target or not IsValid(target) then return end