This repository was archived by the owner on Oct 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -702,6 +702,15 @@ function calcs.defence(env, actor)
702702 end
703703 end
704704
705+ if breakdown then
706+ breakdown .Ward = { slots = { } }
707+ breakdown .EnergyShield = { slots = { } }
708+ breakdown .Armour = { slots = { } }
709+ breakdown .Evasion = { slots = { } }
710+ breakdown .Life = { slots = { } }
711+ breakdown .Mana = { slots = { } }
712+ breakdown .Spirit = { slots = { } }
713+ end
705714 if actor == env .minion then
706715 calcs .doActorLifeManaSpirit (env .minion )
707716 calcs .doActorLifeManaSpiritReservation (env .minion )
@@ -847,15 +856,6 @@ function calcs.defence(env, actor)
847856 local energyShield = 0
848857 local armour = 0
849858 local evasion = 0
850- if breakdown then
851- breakdown .Ward = { slots = { } }
852- breakdown .EnergyShield = { slots = { } }
853- breakdown .Armour = { slots = { } }
854- breakdown .Evasion = { slots = { } }
855- breakdown .Life = { slots = { } }
856- breakdown .Mana = { slots = { } }
857- breakdown .Spirit = { slots = { } }
858- end
859859 local energyShieldBase , armourBase , evasionBase , wardBase
860860 local gearWard = 0
861861 local gearEnergyShield = 0
You can’t perform that action at this time.
0 commit comments