File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2534,6 +2534,15 @@ function calcs.perform(env, skipEHP)
25342534 end
25352535 mergeBuff (srcList , buffs , warcryName )
25362536 end
2537+ if env .minion and not env .minion .modDB .conditions [" AffectedBy" .. warcryNameCompressed ] then
2538+ env .minion .modDB .conditions [" AffectedByWarcry" ] = true
2539+ env .minion .modDB .conditions [" AffectedBy" .. warcryNameCompressed ] = true
2540+ local srcList = new (" ModList" )
2541+ for _ , warcryBuff in ipairs (warcry .modList ) do
2542+ srcList :ScaleAddList ({warcryBuff }, (warcry .effectMult or 100 ) / 100 * (warcryBuff [1 ].warcryPowerBonus or 1 ))
2543+ end
2544+ mergeBuff (srcList , minionBuffs , warcryName )
2545+ end
25372546 end
25382547 end
25392548 if env .partyMembers [" Link" ] and env .partyMembers [" Link" ][" Link" ] then
You can’t perform that action at this time.
0 commit comments