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

Automatic talent use when no foes in sight will not trigger when blind

git-svn-id: http://svn.net-core.org/repos/t-engine4@5885 51575b47-30f0-44d4-a5cc-537603b46e54
parent fd05f609
No related branches found
No related tags found
No related merge requests found
......@@ -649,7 +649,9 @@ function _M:automaticTalents()
if c ~= 2 then
self:useTalent(tid)
else
self:useTalent(tid,nil,nil,nil,self)
if not self:attr("blind") then
self:useTalent(tid,nil,nil,nil,self)
end
end
end
if c == 4 and #spotted > 0 then
......
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