Skip to content

Commit c060068

Browse files
committed
fix triggers not using the new accuracy HitChance
1 parent b945373 commit c060068

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Modules/CalcPerform.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2402,7 +2402,7 @@ function calcs.perform(env, avoidCache)
24022402
trigRate = calcActualTriggerRate(env, source, sourceAPS, spellCount, output, breakdown, dualWield)
24032403

24042404
-- Account for chance to hit/crit
2405-
local sourceHitChance = GlobalCache.cachedData["CACHE"][uuid].HitChance
2405+
local sourceHitChance = GlobalCache.cachedData["CACHE"][uuid].AccuracyHitChance
24062406
trigRate = trigRate * sourceHitChance / 100
24072407
if breakdown then
24082408
breakdown.Speed = {
@@ -2941,7 +2941,7 @@ function calcs.perform(env, avoidCache)
29412941
trigRate = calcActualTriggerRate(env, source, sourceAPS, spellCount, env.minion.output, env.minion.breakdown, false, true)
29422942

29432943
-- Account for chance to hit
2944-
local sourceHitChance = GlobalCache.cachedData["CACHE"][uuid].HitChance
2944+
local sourceHitChance = GlobalCache.cachedData["CACHE"][uuid].AccuracyHitChance
29452945
trigRate = trigRate * sourceHitChance / 100
29462946
if env.minion.breakdown then
29472947
env.minion.breakdown.Speed = {

0 commit comments

Comments
 (0)