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

Using vim based talents will increase equilibrium a lot if the creature has...

Using vim based talents will increase equilibrium a lot if the creature has any (nature hates corruptions!)


git-svn-id: http://svn.net-core.org/repos/t-engine4@5285 51575b47-30f0-44d4-a5cc-537603b46e54
parent 786e3d1e
No related branches found
No related tags found
No related merge requests found
......@@ -3169,7 +3169,7 @@ function _M:postUseTalent(ab, ret)
end
-- Vim is not affected by fatigue
if ab.vim and not self:attr("zero_resource_cost") then
trigger = true; self:incVim(-ab.vim)
trigger = true; self:incVim(-ab.vim) self:incEquilibrium(ab.vim * 5)
end
if ab.positive and not (self:attr("zero_resource_cost") and ab.positive > 0) then
trigger = true; self:incPositive(-ab.positive * (100 + self:combatFatigue()) / 100)
......
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