diff --git a/game/modules/tome/class/Player.lua b/game/modules/tome/class/Player.lua index 6d3928e9b6cf7f1f9e28fd2cc35e7fcecb8f403f..91106f6246ead5b84feec0e89fe0f63dcfce0132 100644 --- a/game/modules/tome/class/Player.lua +++ b/game/modules/tome/class/Player.lua @@ -1020,7 +1020,7 @@ function _M:doWear(inven, item, o) self:removeObject(inven, item, true) local ro = self:wearObject(o, true, true) if ro then - self:useEnergy() + if not self:attr("quick_wear_takeoff") then self:useEnergy() end if type(ro) == "table" then self:addObject(inven, ro) end elseif not ro then self:addObject(inven, o) @@ -1037,7 +1037,7 @@ function _M:doTakeoff(inven, item, o, simple) end if not simple then self:sortInven() - self:useEnergy() + if not self:attr("quick_wear_takeoff") then self:useEnergy() end end self:playerCheckSustains() self.changed = true diff --git a/game/modules/tome/data/talents/uber/dex.lua b/game/modules/tome/data/talents/uber/dex.lua index 888e8f0789153f2d456d02d64568a1fa75e1c594..a311b6a2bfcb3639f5dacd0930562a7c683e5618 100644 --- a/game/modules/tome/data/talents/uber/dex.lua +++ b/game/modules/tome/data/talents/uber/dex.lua @@ -41,13 +41,15 @@ uberTalent{ on_learn = function(self, t) self:attr("quick_weapon_swap", 1) self:attr("quick_equip_cooldown", 1) + self:attr("quick_wear_takeoff", 1) end, on_unlearn = function(self, t) self:attr("quick_weapon_swap", -1) self:attr("quick_equip_cooldown", -1) + self:attr("quick_wear_takeoff", -1) end, info = function(self, t) - return ([[You have very agile hands; swapping equipment sets (default q key) takes no time. + return ([[You have very agile hands; swapping equipment sets (default q key) takes no time, nor does wearing/taking off items. Also the cooldown for equipping activatable equipment is removed.]]) :format() end,