diff options
author | Rabbit Whispers <us@starfall.systems> | 2025-06-14 09:15:19 -0500 |
---|---|---|
committer | Rabbit Whispers <us@starfall.systems> | 2025-06-14 13:08:50 -0500 |
commit | 7380279bedc3040cc4a923395368a5de8ffa7874 (patch) | |
tree | 0dc13f42fbdc820d273164c19f194d87c8ac4dc6 /rabbit-bugfix/superload/mod/class | |
parent | 8d2cc446bf32b0f2105962def03b2a715d2c4c4c (diff) |
bugfix: Adept and talents_mastery_bonus update passives
This change by yutio888 was merged to t-engine4 master here: https://git.net-core.org/tome/t-engine4/-/commit/01ce59f64d6d6db3796f6186dbe5b67f02261174 but was never actually released in tome-1.7 Co-authored-by: yutio888 <yutio888@qq.com>
Diffstat (limited to 'rabbit-bugfix/superload/mod/class')
-rw-r--r-- | rabbit-bugfix/superload/mod/class/Actor.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rabbit-bugfix/superload/mod/class/Actor.lua b/rabbit-bugfix/superload/mod/class/Actor.lua new file mode 100644 index 0000000..6084cd6 --- /dev/null +++ b/rabbit-bugfix/superload/mod/class/Actor.lua @@ -0,0 +1,11 @@ +local _M = loadPrevious(...) + +local base_onTemporaryValueChange = _M.onTemporaryValueChange +function _M:onTemporaryValueChange(prop, v, base) + if base == self.talents_mastery_bonus then + self:updateAllTalentsPassives() + end + base_onTemporaryValueChange(self, prop, v, base) +end + +return _M |