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

Corrupted Negation is subject to spell resists

git-svn-id: http://svn.net-core.org/repos/t-engine4@4234 51575b47-30f0-44d4-a5cc-537603b46e54
parent 7a4fdf72
No related branches found
No related tags found
No related merge requests found
......@@ -91,10 +91,12 @@ newTalent{
if #effs == 0 then break end
local eff = rng.tableRemove(effs)
if eff[1] == "effect" then
target:removeEffect(eff[2])
else
target:forceUseTalent(eff[2], {ignore_energy=true})
if self:checkHit(self:combatSpellpower(), target:combatSpellResist(), 0, 95, 5) then
if eff[1] == "effect" then
target:removeEffect(eff[2])
else
target:forceUseTalent(eff[2], {ignore_energy=true})
end
end
end
end, nil, {type="slime"})
......
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