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

Creatures now levelup stats as bonuses, they can go over 100

git-svn-id: http://svn.net-core.org/repos/t-engine4@2985 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5d83a334
No related branches found
No related tags found
No related merge requests found
......@@ -1252,7 +1252,7 @@ function _M:learnStats(statorder)
while self.unused_stats > 0 do
if self:getStat(statorder[self.auto_stat_cnt]) < max then
self:incStat(statorder[self.auto_stat_cnt], 1)
self:incIncStat(statorder[self.auto_stat_cnt], 1)
self.unused_stats = self.unused_stats - 1
end
self.auto_stat_cnt = util.boundWrap(self.auto_stat_cnt + 1, 1, #statorder)
......
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