You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Modules/CalcOffence.lua
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2644,8 +2644,8 @@ function calcs.offence(env, actor, activeSkill)
2644
2644
localhitChances= {}
2645
2645
hitChances[1] = {distance=enemyDistance}
2646
2646
localbuffers= {
2647
-
dist= {"", "", "", ""}, -- these define the number of required spaces based on string length to have the numbers aligned (it's not a simple length * x due to linting that happens later)
2648
-
chance= {"", "", ""}
2647
+
dist= {"", "", ""}, -- these define the number of required spaces based on string length to have the numbers aligned (it's not a simple length * x due to linting that happens later)
2648
+
chance= {"", ""}
2649
2649
}
2650
2650
for_, distanceinipairs(distances) do-- put distance values in order, incl. config value
2651
2651
ifdistance<hitChances[#hitChances].distancethen
@@ -2659,9 +2659,12 @@ function calcs.offence(env, actor, activeSkill)
2659
2659
entry.capped= ((entry.distance==enemyDistance) andoutput.AccuracyHitChance) or (cannotBeEvadedand100) orm_max(calcs.hitChance(enemyEvasion, entry.adjustedAccuracy) *hitChanceMod)
2660
2660
entry.uncapped=exceedsHitChanceandm_max(calcs.hitChance(enemyEvasion, entry.adjustedAccuracy, true) *hitChanceMod, entry.capped) -- compare to capped to account for cannotBeEvaded
0 commit comments