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

Disperse Magic only works on spell sustains

git-svn-id: http://svn.net-core.org/repos/t-engine4@2568 51575b47-30f0-44d4-a5cc-537603b46e54
parent e93c3142
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,8 @@ newTalent{
-- Go through all sustained spells
for tid, act in pairs(target.sustain_talents) do
if act then
effs[#effs+1] = {"talent", tid}
local talent = target:getTalentFromId(tid)
if talent.is_spell then effs[#effs+1] = {"talent", tid} 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