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

Fixed Timeless not removing effects if it brang them to 0 duration

git-svn-id: http://svn.net-core.org/repos/t-engine4@6025 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5d438015
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,7 @@ newTalent{
p.dur = p.dur + self:getTalentLevelRaw(t)
elseif e.status == "detrimental" then
p.dur = p.dur - self:getTalentLevelRaw(t) * 2
if p.dur <= 0 then todel[#todel+1] = eff end
if p.dur <= 0 then todel[#todel+1] = eff_id end
end
end
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