Fix Mines counting towards # of Auras affecting you mastery (#3693)

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
This commit is contained in:
LocalIdentity
2021-11-02 04:15:30 +11:00
committed by GitHub
parent 2c9bd16b31
commit 9cadaf9fdd

View File

@@ -1547,7 +1547,7 @@ function calcs.perform(env, avoidCache)
if env.mode_buffs then
local auraList = { }
for _, activeSkill in ipairs(env.player.activeSkillList) do
if activeSkill.skillTypes[SkillType.Aura] and not activeSkill.skillData.auraCannotAffectSelf and not auraList[activeSkill.skillCfg.skillName] then
if activeSkill.skillTypes[SkillType.Aura] and not activeSkill.skillTypes[SkillType.Mine] and not activeSkill.skillData.auraCannotAffectSelf and not auraList[activeSkill.skillCfg.skillName] then
auraList[activeSkill.skillCfg.skillName] = true
modDB.multipliers["AuraAffectingSelf"] = (modDB.multipliers["AuraAffectingSelf"] or 0) + 1
end