class:bindHook("ToME:load", function(self, data) local Talents = require 'engine.interface.ActorTalents' local TD = Talents.talents_def -- update passives when adept is taken if TD.T_ADEPT then TD.T_ADEPT.passives = function(self, t, p) self:talentTemporaryValue(p, "all_talents_bonus_level", 1.5) if not self._updating_adept then self._updating_adept = true self:updateAllTalentsPassives() self._updating_adept = nil end end end end)