@@ -3329,7 +3329,8 @@ function calcs.offence(env, actor, activeSkill)
33293329
33303330 -- dynamic way of calcing the Ancestral Boost from a single source without duplicating the code
33313331 -- uptimeOverride: Ancestral Empowerment
3332- local function calcAncestralBoost (skillName , moreDmg , incArea , uptimeOverride )
3332+ -- combinedCalcs: ignore INC AoE as we will run that in calcCombinedAncestralBoost
3333+ local function calcAncestralBoost (skillName , moreDmg , incArea , uptimeOverride , combinedCalcs )
33333334 globalOutput .CreateWarcryOffensiveCalcSection = true -- labels for the CalcSection
33343335 local skillNameVar = skillName :gsub (" " , " " ) -- Fist Of War -> FistOfWar
33353336 local skillNameLabel = skillName :lower ()
@@ -3362,7 +3363,9 @@ function calcs.offence(env, actor, activeSkill)
33623363 skillModList :NewMod (" AreaOfEffect" , " INC" , (incArea or 0 ) + ancestrallyBoostedIncArea , " Max " .. skillName .. " Boosted AoE" )
33633364 else
33643365 output [skillNameVar .. " DamageEffect" ] = globalOutput [" Avg" .. skillNameVar .. " DamageEffect" ]
3365- skillModList :NewMod (" AreaOfEffect" , " INC" , m_floor (((incArea or 0 ) + ancestrallyBoostedIncArea ) * globalOutput [skillNameVar .. " UptimeRatio" ] / 100 ), " Avg " .. skillName .. " Boosted AoE" )
3366+ if not combinedCalcs then
3367+ skillModList :NewMod (" AreaOfEffect" , " INC" , m_floor (((incArea or 0 ) + ancestrallyBoostedIncArea ) * globalOutput [skillNameVar .. " UptimeRatio" ] / 100 ), " Avg " .. skillName .. " Boosted AoE" )
3368+ end
33663369 end
33673370 calcAreaOfEffect (skillModList , skillCfg , skillData , skillFlags , globalOutput , globalBreakdown )
33683371 globalOutput .TheoreticalOffensiveWarcryEffect = globalOutput .TheoreticalOffensiveWarcryEffect * globalOutput [" Avg" .. skillNameVar .. " DamageEffect" ]
@@ -3417,6 +3420,7 @@ function calcs.offence(env, actor, activeSkill)
34173420 else
34183421 output [skillNameVar .. " DamageEffect" ] = globalOutput [" Avg" .. skillNameVar .. " DamageEffect" ]
34193422 skillModList :NewMod (" AreaOfEffect" , " INC" , m_floor (((incArea or 0 ) + ancestrallyBoostedIncArea ) * globalOutput [skillNameVar .. " UptimeRatio" ] / 100 ), " Avg " .. skillName .. " Boosted AoE" )
3423+ skillModList :NewMod (" AreaOfEffect" , " INC" , m_floor (((incArea or 0 ) + ancestrallyBoostedIncArea ) * globalOutput [additionalSkillNameVar .. " UptimeRatio" ] / 100 / 2 ), " Avg " .. additionalSkillName .. " Boosted AoE" )
34203424 end
34213425 calcAreaOfEffect (skillModList , skillCfg , skillData , skillFlags , globalOutput , globalBreakdown )
34223426 globalOutput .TheoreticalOffensiveWarcryEffect = globalOutput .TheoreticalOffensiveWarcryEffect * globalOutput [" Avg" .. skillNameVar .. " DamageEffect" ]
@@ -3426,7 +3430,7 @@ function calcs.offence(env, actor, activeSkill)
34263430 globalOutput .FistOfWarCooldown = skillModList :Sum (" BASE" , cfg , " FistOfWarCooldown" ) or 0
34273431 if skillModList :Flag (cfg , " AncestralEmpowerment" ) and activeSkill .skillTypes [SkillType .Slam ] and not activeSkill .skillTypes [SkillType .Vaal ] and not activeSkill .skillTypes [SkillType .OtherThingUsesSkill ] then
34283432 if globalOutput .FistOfWarCooldown ~= 0 then -- get the fist of war calcs in output to use in Empowerment
3429- calcAncestralBoost (" Fist Of War" , (skillModList :Sum (" BASE" , nil , " FistOfWarDamageMultiplier" ) / 100 ), skillModList :Sum (" BASE" , nil , " FistOfWarIncAoE" ))
3433+ calcAncestralBoost (" Fist Of War" , (skillModList :Sum (" BASE" , nil , " FistOfWarDamageMultiplier" ) / 100 ), skillModList :Sum (" BASE" , nil , " FistOfWarIncAoE" ), nil , true )
34303434 globalOutput .TheoreticalOffensiveWarcryEffect = 1 -- reset effects from FistOfWar calc, we combine later
34313435 globalOutput .TheoreticalMaxOffensiveWarcryEffect = 1
34323436
0 commit comments