From 8c373c3ebe79107cd0c255e5f794cc49b8e10664 Mon Sep 17 00:00:00 2001
From: Eric Wykoff <ericwykoff@yahoo.com>
Date: Mon, 23 Feb 2015 16:23:20 -0600
Subject: [PATCH] nergy works with more talents for venturers lectronicRU

---
 game/modules/tome/class/Actor.lua                     | 2 +-
 game/modules/tome/data/talents/chronomancy/energy.lua | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua
index 1937621d6a..b9986c4b42 100644
--- a/game/modules/tome/class/Actor.lua
+++ b/game/modules/tome/class/Actor.lua
@@ -5510,7 +5510,7 @@ function _M:startTalentCooldown(t, v)
 
 		if t.id ~= self.T_REDUX and self:hasEffect(self.EFF_REDUX) then
 			local eff = self:hasEffect(self.EFF_REDUX)
-			if t.type[1]:find("^chronomancy/") and self:getTalentCooldown(t) <= eff.max_cd and t.mode == "activated" and not t.fixed_cooldown then
+			if self:getTalentCooldown(t) <= eff.max_cd and t.mode == "activated" and not t.fixed_cooldown then
 				self.talents_cd[t.id] = 1
 			end
 		end
diff --git a/game/modules/tome/data/talents/chronomancy/energy.lua b/game/modules/tome/data/talents/chronomancy/energy.lua
index d8de5728f1..edfedc3605 100644
--- a/game/modules/tome/data/talents/chronomancy/energy.lua
+++ b/game/modules/tome/data/talents/chronomancy/energy.lua
@@ -111,7 +111,7 @@ newTalent{
 			local tids = {}
 			for tid, _ in pairs(self.talents_cd) do
 				local tt = self:getTalentFromId(tid)
-				if tt.type[1]:find("^chronomancy/") and not tt.fixed_cooldown then
+				if not tt.fixed_cooldown then
 					tids[#tids+1] = tt
 				end
 			end
@@ -133,7 +133,7 @@ newTalent{
 		local talentcount = t.getTalentCount(self, t)
 		local cooldown = t.getCooldown(self, t)
 		return ([[You sap the target's energy and add it to your own, placing up to %d random talents on cooldown for %d turns.
-		For each talent put on cooldown, you reduce the cooldown of one of your chronomancy talents currently on cooldown by %d turns.]]):
+		For each talent put on cooldown, you reduce the cooldown of one of your talents currently on cooldown by %d turns.]]):
 		format(talentcount, cooldown, cooldown)
 	end,
 }
@@ -158,7 +158,7 @@ newTalent{
 	info = function(self, t)
 		local duration = t.getDuration(self, t)
 		local cooldown = t.getMaxCooldown(self, t)
-		return ([[For the next %d turns chronomancy spells with a cooldown of %d or less have a cooldown of one.]]):
+		return ([[For the next %d turns talents with a cooldown of %d or less have a cooldown of one.]]):
 		format(duration, cooldown)
 	end,
 }
-- 
GitLab