Skip to content
Snippets Groups Projects
Commit e296bae0 authored by dg's avatar dg
Browse files

adz

git-svn-id: http://svn.net-core.org/repos/t-engine4@6519 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3e564cee
No related branches found
No related tags found
No related merge requests found
......@@ -688,7 +688,6 @@ function _M:automaticTalents()
local t = self.talents_def[tid]
local spotted = spotHostiles(self)
if (t.mode ~= "sustained" or not self.sustain_talents[tid]) and not self.talents_cd[tid] and self:preUseTalent(t, true, true) and (not t.auto_use_check or t.auto_use_check(self, t)) then
print("===auto", tid, c)
if (c == 1) or (c == 2 and #spotted <= 0) or (c == 3 and #spotted > 0) then
if c ~= 2 then
self:useTalent(tid)
......
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