Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Modules/CalcTools.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function calcLib.canGrantedEffectSupportActiveSkill(grantedEffect, activeSkill)
end

local effectiveSkillTypes = activeSkill.summonSkill and activeSkill.summonSkill.skillTypes or activeSkill.skillTypes
local effectiveMinionTypes = not grantedEffect.ignoreMinionTypes and activeSkill.summonSkill and activeSkill.summonSkill.minionSkillTypes or activeSkill.minionSkillTypes
local effectiveMinionTypes = not grantedEffect.ignoreMinionTypes and (activeSkill.summonSkill and activeSkill.summonSkill.minionSkillTypes or activeSkill.minionSkillTypes)

-- if the activeSkill is a Minion's skill like "Default Attack", use minion's skillTypes instead for exclusions
-- otherwise compare support to activeSkill directly
Expand Down