Skip to content
Snippets Groups Projects
Commit 0341e0c8 authored by DarkGod's avatar DarkGod
Browse files

plop

parent f6abc5e4
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -2724,7 +2724,8 @@ function _M:saveGame()
party:attr("save_cleanup", 1)
party:stripForExport()
party:attr("save_cleanup", -1)
game.player:saveUUID(party)
game.player:saveUUID(nil)
-- game.player:saveUUID(party)
end end))
_G.game = self
......
......@@ -172,6 +172,7 @@ function _M.aiParseTalent(t, who)
ok, tactical = pcall(t.tactical, who, t, who) -- (test function with who as target, only looking for fields)
if not ok then -- defer parsing without proper input
print("[aiParseTalent] FAILED TO PARSE tactical table function for", t.id, who and who.uid, who and who.name)
print(" => because of error", tactical)
t._ai_parsed = nil return
end
else tactical = t.tactical
......
......@@ -124,7 +124,7 @@ newTalent{
adept_deac_tactical = {escape = -0.5}, -- adept tactic adjustments when deactivating (negated)
base_tactical = function(self, t, aitarget) -- buff tactic up to +3 depending on how much the talent helps to see a stealthed/invisible target or a target that is out of sense range
local buff, max_buff = 0, 4
if not aitarget then -- out of combat, stay vigilant for enemies
if not aitarget or not self.aiSeeTargetPos then -- out of combat, stay vigilant for enemies
buff = max_buff
else
if self:attr("blind") or self:attr("esp_all") then return end -- target automatically seen or unseen
......
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