@@ -3443,12 +3443,12 @@ function calcs.offence(env, actor, activeSkill)
34433443 -- dynamic way of calculating the Ancestral Boost from a single source without duplicating the code
34443444 -- uptimeOverride: Ancestral Empowerment
34453445 -- combinedCalcs: ignore INC AoE as we will run that in calcCombinedAncestralBoost
3446- local function calcAncestralBoost (skillName , moreDmg , uptimeOverride , combinedCalcs )
3446+ local function calcAncestralBoost (skillName , uptimeOverride , combinedCalcs )
34473447 globalOutput .CreateWarcryOffensiveCalcSection = true -- labels for the CalcSection
34483448 local skillNameVar = skillName :gsub (" " , " " ) -- Fist Of War -> FistOfWar
34493449 local skillNameLabel = skillName :lower ()
34503450
3451- globalOutput [skillNameVar .. " DamageMultiplier" ] = moreDmg or 1
3451+ globalOutput [skillNameVar .. " DamageMultiplier" ] = ancestrallyBoostedMoreDamageMulti
34523452 globalOutput [skillNameVar .. " UptimeRatio" ] = uptimeOverride or m_min ( (1 / globalOutput .Speed ) / globalOutput [skillNameVar .. " Cooldown" ], 1 ) * 100
34533453 if globalBreakdown then
34543454 globalBreakdown [skillNameVar .. " UptimeRatio" ] = {
@@ -3478,12 +3478,12 @@ function calcs.offence(env, actor, activeSkill)
34783478 end
34793479
34803480 -- combine Ancestral Empowerment with other sources of Slam Ancestral Boost, namely Fist of War, when both active
3481- local function calcCombinedAncestralBoost (skillName , moreDmg , uptimeOverride , additionalSkillName )
3481+ local function calcCombinedAncestralBoost (skillName , uptimeOverride , additionalSkillName )
34823482 globalOutput .CreateWarcryOffensiveCalcSection = true -- labels for the CalcSection
34833483 local skillNameVar = skillName :gsub (" " , " " ) -- Fist Of War -> FistOfWar
34843484 local skillNameLabel = skillName :lower ()
34853485
3486- globalOutput [skillNameVar .. " DamageMultiplier" ] = moreDmg or 1
3486+ globalOutput [skillNameVar .. " DamageMultiplier" ] = ancestrallyBoostedMoreDamageMulti
34873487 -- for CalcSections, set the AncestralEmpowerment damage for mod breakdown
34883488 globalOutput [skillNameVar .. " CombinedDamageMultiplier" ] = globalOutput [skillNameVar .. " DamageMultiplier" ]
34893489 skillNameVar = skillNameVar .. " Combined"
@@ -3526,19 +3526,19 @@ function calcs.offence(env, actor, activeSkill)
35263526 globalOutput .FistOfWarCooldown = skillModList :Sum (" BASE" , cfg , " FistOfWarCooldown" ) or 0
35273527 if skillModList :Flag (cfg , " AncestralEmpowerment" ) and activeSkill .skillTypes [SkillType .Slam ] and not activeSkill .skillTypes [SkillType .Vaal ] and not activeSkill .skillTypes [SkillType .OtherThingUsesSkill ] then
35283528 if globalOutput .FistOfWarCooldown ~= 0 then -- get the fist of war calcs in output to use in Empowerment
3529- calcAncestralBoost (" Fist Of War" , ancestrallyBoostedMoreDamageMulti , nil , true )
3529+ calcAncestralBoost (" Fist Of War" , nil , true )
35303530 globalOutput .TheoreticalOffensiveWarcryEffect = 1 -- reset effects from FistOfWar calc, we combine later
35313531 globalOutput .TheoreticalMaxOffensiveWarcryEffect = 1
35323532
3533- calcCombinedAncestralBoost (" Ancestral Empowerment" , ancestrallyBoostedMoreDamageMulti , 50 , " Fist Of War" )
3533+ calcCombinedAncestralBoost (" Ancestral Empowerment" , 50 , " Fist Of War" )
35343534 globalOutput .FistOfWarUptimeRatio = nil -- hide from CalcSections, but we need it for the combined calc first
35353535 else
3536- calcAncestralBoost (" Ancestral Empowerment" , ancestrallyBoostedMoreDamageMulti , 50 )
3536+ calcAncestralBoost (" Ancestral Empowerment" , 50 )
35373537 end
35383538 end
35393539 -- If Fist of War & Active Skill is a Slam Skill & NOT a Vaal Skill & NOT used by mirage or other
35403540 if not skillModList :Flag (cfg , " AncestralEmpowerment" ) and globalOutput .FistOfWarCooldown ~= 0 and activeSkill .skillTypes [SkillType .Slam ] and not activeSkill .skillTypes [SkillType .Vaal ] and not activeSkill .skillTypes [SkillType .OtherThingUsesSkill ] then
3541- calcAncestralBoost (" Fist Of War" , ancestrallyBoostedMoreDamageMulti )
3541+ calcAncestralBoost (" Fist Of War" )
35423542 else
35433543 output .FistOfWarDamageEffect = 1
35443544 end
0 commit comments