Skip to content

Commit

Permalink
Fix 'Damage per aura' mastery incorrectly working with some gems (#6021)
Browse files Browse the repository at this point in the history
The mastery was incorrectly working with Skitterbots, Pride, Flesh and Stone and Death Aura

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
  • Loading branch information
LocalIdentity and LocalIdentity authored Apr 11, 2023
1 parent 76bf392 commit 8474c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/CalcPerform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,7 @@ function calcs.perform(env, avoidCache, fullDPSSkipEHP)
if env.mode_buffs then
local auraList = { }
for _, activeSkill in ipairs(env.player.activeSkillList) do
if activeSkill.skillTypes[SkillType.Aura] and not activeSkill.skillTypes[SkillType.RemoteMined] and not activeSkill.skillData.auraCannotAffectSelf and not auraList[activeSkill.skillCfg.skillName] then
if activeSkill.skillTypes[SkillType.Aura] and not activeSkill.skillTypes[SkillType.AuraAffectsEnemies] 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
Expand Down

0 comments on commit 8474c0a

Please sign in to comment.