Skip to content
Snippets Groups Projects
Commit 4ea8d9dc authored by DarkGod's avatar DarkGod
Browse files

Applied a global reduction to the need to escape for tactical AI. This means...

Applied a global reduction to the need to escape for tactical AI. This means NPC should be much less likely to teleport away (they can still do)
parent e1d2c6e4
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -941,6 +941,9 @@ newAI("use_improved_tactical", function(self, t_filter, t_list)
if log_detail >= 2 then print("--want.closein adjusted for want.escape:", want.closein) end
end
-- DGDGDGDG; this is a temporary measure (so I suppose it'll stay like that for a few years :/ )
if want.escape then want.escape = want.escape * 0.6 end
-- if log_detail > 0 then print("[use_tactical AI] ### Final Wants (ai_tactic applied):") local tt = table.to_strings(want, "[%s]=%0.3f") table.sort(tt) print(table.concat(tt, ", ")) end
if log_detail > 0 then print("[use_tactical AI] ### Final Wants (ai_tactic applied):\n\t", (string.fromTable(want, nil, nil, nil, nil, true))) end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment