diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua index db3bd817e5703ab75075d332ea602cbd54a60340..291c1238102be0f44bf231b7153e232ffc078ee3 100644 --- a/game/modules/tome/class/Actor.lua +++ b/game/modules/tome/class/Actor.lua @@ -2761,6 +2761,15 @@ function _M:onWear(o, bypass_set) end end + if o.talent_on_mind then + self.talent_on_mind = self.talent_on_mind or {} + for i = 1, #o.talent_on_mind do + local id = util.uuid() + self.talent_on_mind[id] = o.talent_on_mind[i] + o.talent_on_mind[i]._id = id + end + end + -- Apply any special cursed logic if self:knowTalent(self.T_DEFILING_TOUCH) then local t = self:getTalentFromId(self.T_DEFILING_TOUCH) @@ -2844,6 +2853,15 @@ function _M:onTakeoff(o, bypass_set) end end + + if o.talent_on_mind then + self.talent_on_mind = self.talent_on_mind or {} + for i = 1, #o.talent_on_mind do + local id = o.talent_on_mind[i]._id + self.talent_on_mind[id] = nil + end + end + -- apply any special cursed logic if self:knowTalent(self.T_DEFILING_TOUCH) then local t = self:getTalentFromId(self.T_DEFILING_TOUCH) diff --git a/game/modules/tome/class/Object.lua b/game/modules/tome/class/Object.lua index a4030a73f047f554e2dd42462cf6879b93807c2b..da5b890acb56031d17ff8a2146f290b2340459da 100644 --- a/game/modules/tome/class/Object.lua +++ b/game/modules/tome/class/Object.lua @@ -1021,7 +1021,7 @@ function _M:getTextualDesc(compare_with) end if w.no_breath then - desc:add("The wearer no longer has to breath.", true) + desc:add("The wearer no longer has to breathe.", true) end if w.quick_weapon_swap then