Skip to content

Commit

Permalink
Fix Maligoro's Virtuosity not working with Perfect Agony (#7918)
Browse files Browse the repository at this point in the history
The mod wasn't checking to see if their was a source of CritMulti override

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
  • Loading branch information
LocalIdentity and LocalIdentity authored Jul 25, 2024
1 parent 572c011 commit e41d1cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/CalcOffence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3588,7 +3588,7 @@ function calcs.offence(env, actor, activeSkill)

if skillModList:Flag(nil, "DotMultiplierIsCritMultiplier") then
-- On enemy crit multiplier effects also apply for Perfect Agony: https://www.pathofexile.com/forum/view-thread/3532389#13
skillModList:NewMod("DotMultiplier", "OVERRIDE", skillModList:Sum("BASE", cfg, "CritMultiplier") + enemyDB:Sum("BASE", cfg, "SelfCritMultiplier"), "Perfect Agony", ModFlag.Ailment, handCondition)
skillModList:NewMod("DotMultiplier", "OVERRIDE", (skillModList:Override(cfg, "CritMultiplier") or skillModList:Sum("BASE", cfg, "CritMultiplier")) + enemyDB:Sum("BASE", cfg, "SelfCritMultiplier"), "Perfect Agony", ModFlag.Ailment, handCondition)
end
end

Expand Down

0 comments on commit e41d1cd

Please sign in to comment.