@@ -3370,7 +3370,8 @@ function calcs.offence(env, actor, activeSkill)
33703370
33713371 -- dynamic way of calcing the Ancestral Boost from a single source without duplicating the code
33723372 -- uptimeOverride: Ancestral Empowerment
3373- local function calcAncestralBoost (skillName , moreDmg , incArea , uptimeOverride )
3373+ -- combinedCalcs: ignore INC AoE as we will run that in calcCombinedAncestralBoost
3374+ local function calcAncestralBoost (skillName , moreDmg , incArea , uptimeOverride , combinedCalcs )
33743375 globalOutput .CreateWarcryOffensiveCalcSection = true -- labels for the CalcSection
33753376 local skillNameVar = skillName :gsub (" " , " " ) -- Fist Of War -> FistOfWar
33763377 local skillNameLabel = skillName :lower ()
@@ -3403,7 +3404,9 @@ function calcs.offence(env, actor, activeSkill)
34033404 skillModList :NewMod (" AreaOfEffect" , " INC" , (incArea or 0 ) + ancestrallyBoostedIncArea , " Max " .. skillName .. " Boosted AoE" )
34043405 else
34053406 output [skillNameVar .. " DamageEffect" ] = globalOutput [" Avg" .. skillNameVar .. " DamageEffect" ]
3406- skillModList :NewMod (" AreaOfEffect" , " INC" , m_floor (((incArea or 0 ) + ancestrallyBoostedIncArea ) * globalOutput [skillNameVar .. " UptimeRatio" ] / 100 ), " Avg " .. skillName .. " Boosted AoE" )
3407+ if not combinedCalcs then
3408+ skillModList :NewMod (" AreaOfEffect" , " INC" , m_floor (((incArea or 0 ) + ancestrallyBoostedIncArea ) * globalOutput [skillNameVar .. " UptimeRatio" ] / 100 ), " Avg " .. skillName .. " Boosted AoE" )
3409+ end
34073410 end
34083411 calcAreaOfEffect (skillModList , skillCfg , skillData , skillFlags , globalOutput , globalBreakdown )
34093412 globalOutput .TheoreticalOffensiveWarcryEffect = globalOutput .TheoreticalOffensiveWarcryEffect * globalOutput [" Avg" .. skillNameVar .. " DamageEffect" ]
@@ -3458,6 +3461,7 @@ function calcs.offence(env, actor, activeSkill)
34583461 else
34593462 output [skillNameVar .. " DamageEffect" ] = globalOutput [" Avg" .. skillNameVar .. " DamageEffect" ]
34603463 skillModList :NewMod (" AreaOfEffect" , " INC" , m_floor (((incArea or 0 ) + ancestrallyBoostedIncArea ) * globalOutput [skillNameVar .. " UptimeRatio" ] / 100 ), " Avg " .. skillName .. " Boosted AoE" )
3464+ skillModList :NewMod (" AreaOfEffect" , " INC" , m_floor (((incArea or 0 ) + ancestrallyBoostedIncArea ) * globalOutput [additionalSkillNameVar .. " UptimeRatio" ] / 100 / 2 ), " Avg " .. additionalSkillName .. " Boosted AoE" )
34613465 end
34623466 calcAreaOfEffect (skillModList , skillCfg , skillData , skillFlags , globalOutput , globalBreakdown )
34633467 globalOutput .TheoreticalOffensiveWarcryEffect = globalOutput .TheoreticalOffensiveWarcryEffect * globalOutput [" Avg" .. skillNameVar .. " DamageEffect" ]
@@ -3467,7 +3471,7 @@ function calcs.offence(env, actor, activeSkill)
34673471 globalOutput .FistOfWarCooldown = skillModList :Sum (" BASE" , cfg , " FistOfWarCooldown" ) or 0
34683472 if skillModList :Flag (cfg , " AncestralEmpowerment" ) and activeSkill .skillTypes [SkillType .Slam ] and not activeSkill .skillTypes [SkillType .Vaal ] and not activeSkill .skillTypes [SkillType .OtherThingUsesSkill ] then
34693473 if globalOutput .FistOfWarCooldown ~= 0 then -- get the fist of war calcs in output to use in Empowerment
3470- calcAncestralBoost (" Fist Of War" , (skillModList :Sum (" BASE" , nil , " FistOfWarDamageMultiplier" ) / 100 ), skillModList :Sum (" BASE" , nil , " FistOfWarIncAoE" ))
3474+ calcAncestralBoost (" Fist Of War" , (skillModList :Sum (" BASE" , nil , " FistOfWarDamageMultiplier" ) / 100 ), skillModList :Sum (" BASE" , nil , " FistOfWarIncAoE" ), nil , true )
34713475 globalOutput .TheoreticalOffensiveWarcryEffect = 1 -- reset effects from FistOfWar calc, we combine later
34723476 globalOutput .TheoreticalMaxOffensiveWarcryEffect = 1
34733477
0 commit comments