Skip to content
Snippets Groups Projects
Commit f05ea060 authored by Samuel Wegner's avatar Samuel Wegner
Browse files

Make Contingency and Matrix respect fixed cooldowns

parent 6a6df0df
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ function _M:generateList()
-- Generate lists of all talents by category
for j, t in pairs(self.actor.talents_def) do
if self.actor:knowTalent(t.id) and t.mode == "activated" and t.is_spell and not t.requires_target and not t.hide then
if self.actor:knowTalent(t.id) and t.mode == "activated" and t.is_spell and not t.requires_target and not t.hide and not t.fixed_cooldown then
local nodes = talents
local status = tstring{{"color", "LIGHT_GREEN"}, "Talents"}
......
......@@ -130,7 +130,7 @@ function _M:generateList()
-- Generate lists of all talents by category
for j, t in pairs(self.actor.talents_def) do
if self.actor:knowTalent(t.id) and t.type[1]:find("^chronomancy/") and not t.type[1]:find("^chronomancy/spellbinding") and not t.hide and t.cooldown and t.mode ~= "passive" and not t.fixed_cooldownand and not spellbound(self.actor, t.id) then
if self.actor:knowTalent(t.id) and t.type[1]:find("^chronomancy/") and not t.type[1]:find("^chronomancy/spellbinding") and not t.hide and t.cooldown and not t.fixed_cooldown and t.mode ~= "passive" and not spellbound(self.actor, t.id) then
local nodes = talents
local status = tstring{{"color", "LIGHT_GREEN"}, "Talents"}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment