From a2e31728d4b4197ee414f49caadc5f9b68ce43e3 Mon Sep 17 00:00:00 2001 From: Ben Temple-Heald Date: Sat, 26 Oct 2024 20:37:49 +0100 Subject: [PATCH 1/2] Fix max stacks for IT, with the Dark Talons Hero Talent change --- TheWarWithin/DeathKnightFrost.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TheWarWithin/DeathKnightFrost.lua b/TheWarWithin/DeathKnightFrost.lua index 935730f76..0a8e435f7 100644 --- a/TheWarWithin/DeathKnightFrost.lua +++ b/TheWarWithin/DeathKnightFrost.lua @@ -666,7 +666,7 @@ spec:RegisterAuras( { icy_talons = { id = 194879, duration = 6, - max_stack = function() return talent.smothering_offense.enabled and 5 or 3 end, + max_stack = function() return (talent.smothering_offense.enabled and 5 or 3) + (talent.dark_talons.enabled and 2 or 0) end, }, inexorable_assault = { id = 253595, From 333313bc8bdcb085101b446a2523c027a725ff48 Mon Sep 17 00:00:00 2001 From: Ben Temple-Heald Date: Sat, 26 Oct 2024 21:15:31 +0100 Subject: [PATCH 2/2] Fix formatting. To be inline with the rest of the codebase --- TheWarWithin/DeathKnightFrost.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TheWarWithin/DeathKnightFrost.lua b/TheWarWithin/DeathKnightFrost.lua index 0a8e435f7..db4030a76 100644 --- a/TheWarWithin/DeathKnightFrost.lua +++ b/TheWarWithin/DeathKnightFrost.lua @@ -666,7 +666,7 @@ spec:RegisterAuras( { icy_talons = { id = 194879, duration = 6, - max_stack = function() return (talent.smothering_offense.enabled and 5 or 3) + (talent.dark_talons.enabled and 2 or 0) end, + max_stack = function() return ( talent.smothering_offense.enabled and 5 or 3 ) + ( talent.dark_talons.enabled and 2 or 0 ) end, }, inexorable_assault = { id = 253595,