Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added more target ents #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lua/d3bot/sv_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lua/d3bot/sv_zs_bot_handler/handlers/undead_fallback.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,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
Expand Down