Skip to content

Commit

Permalink
Fix Mantra of Flames not counting stacks from Trauma or Voltaxic Burst (
Browse files Browse the repository at this point in the history
PathOfBuildingCommunity#6758)

* Fix Trauma stacks not working with Mantra of Flames

The jewel doesn't exist in league but I've had people message me to support it for standard

* Add support for Voltaxic Burst too

---------

Co-authored-by: LocalIdentity <[email protected]>
  • Loading branch information
2 people authored and shafouz committed Dec 5, 2023
1 parent cd94336 commit e9e544b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Modules/CalcOffence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2144,6 +2144,9 @@ function calcs.offence(env, actor, activeSkill)
breakdown.SustainableTrauma = storedSustainedTraumaBreakdown
end
output.SustainableTrauma = skillModList:Flag(nil, "HasTrauma") and skillModList:Sum("BASE", skillCfg, "Multiplier:SustainableTraumaStacks")
--Mantra of Flames buff count
modDB.multipliers["BuffOnSelf"] = (modDB.multipliers["BuffOnSelf"] or 0) + skillModList:Sum("BASE", cfg, "Multiplier:TraumaStacks")
modDB.multipliers["BuffOnSelf"] = (modDB.multipliers["BuffOnSelf"] or 0) + skillModList:Sum("BASE", cfg, "Multiplier:VoltaxicWaitingStages")
if isAttack then
-- Combine hit chance and attack speed
combineStat("AccuracyHitChance", "AVERAGE")
Expand Down

0 comments on commit e9e544b

Please sign in to comment.