Skip to content
Snippets Groups Projects
Commit 485ebc96 authored by Otowa Kotori's avatar Otowa Kotori
Browse files
parent d074f968
No related branches found
No related tags found
1 merge request!630otowakotori 1.7 misc fixes
......@@ -35,8 +35,8 @@ newTalent{
return 100 - (100 - talentmod)/lifemod, 1-1/lifemod, talentmod
end,
on_levelup_close = function(self, t)
if self:getTalentLevelRaw(t) == 1 then
on_levelup_close = function(self, t, lvl, old_lvl, lvl_raw, old_lvl_raw)
if old_lvl_raw == 0 and lvl_raw >= 1 then
self.inc_resource_multi.psi = (self.inc_resource_multi.psi or 0) + 0.5
self.inc_resource_multi.life = (self.inc_resource_multi.life or 0) - 0.25
self.life_rating = math.ceil(self.life_rating/2)
......
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