Fix #8906: Fix issue where Rage Support was affecting Herald of Purity (#8907)

This commit is contained in:
Wires77
2025-08-01 01:55:15 -05:00
committed by GitHub
parent 2a5efed4bf
commit c9e1bf17b8

View File

@@ -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