diff options
author | Rabbit Whispers <us@starfall.systems> | 2025-06-20 18:19:04 -0500 |
---|---|---|
committer | Rabbit Whispers <us@starfall.systems> | 2025-06-20 18:19:04 -0500 |
commit | 8f5b826385db6dc051eeb9b17d76c22c46aa65fc (patch) | |
tree | 455e10bd67beab1981402e86b87f048d35c7cf94 /rabbit-bugfix/hooks/load.lua | |
parent | 05022082bce0d27567652f0118e27876129e4ec0 (diff) |
bugfix: rime wraith no longer disappears when target dies
Diffstat (limited to 'rabbit-bugfix/hooks/load.lua')
-rw-r--r-- | rabbit-bugfix/hooks/load.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rabbit-bugfix/hooks/load.lua b/rabbit-bugfix/hooks/load.lua index 7ae7c8d..55290e7 100644 --- a/rabbit-bugfix/hooks/load.lua +++ b/rabbit-bugfix/hooks/load.lua @@ -1,10 +1,9 @@ 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) + if Talents.talents_def.T_ADEPT then + Talents.talents_def.T_ADEPT.passives = function(self, t, p) self:talentTemporaryValue(p, "all_talents_bonus_level", 1.5) if not self._updating_adept then |