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

Check encumberance upon strength change

git-svn-id: http://svn.net-core.org/repos/t-engine4@875 51575b47-30f0-44d4-a5cc-537603b46e54
parent 0ec97999
No related branches found
No related tags found
No related merge requests found
......@@ -605,6 +605,8 @@ function _M:onStatChange(stat, v)
elseif stat == self.STAT_WIL then
self:incMaxMana(5 * v)
self:incMaxStamina(2 * v)
elseif stat == self.STAT_STR then
self:checkEncumbrance()
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