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

Meditation only affects wild gifts

git-svn-id: http://svn.net-core.org/repos/t-engine4@2183 51575b47-30f0-44d4-a5cc-537603b46e54
parent 6c3dd64a
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,10 @@ newTalent{
-- Deactivate all sustains to get a real reduction
local reset = {}
for tid, act in pairs(self.sustain_talents) do
if act then reset[#reset+1] = tid end
local t = self:getTalentFromId(tid)
if t.sustain_equilibrium then
if act then reset[#reset+1] = tid end
end
end
for i, tid in ipairs(reset) do
self:forceUseTalent(tid, {ignore_energy=true, ignore_cd=true, no_equilibrium_fail=true})
......
No preview for this file type
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