From ad1c69311bec648b031bc2173506d878586f7c08 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Sat, 27 May 2023 20:13:54 -0700 Subject: [PATCH] Hunter mana cost reductions stack additively --- sim/hunter/aimed_shot.go | 6 +++--- sim/hunter/black_arrow.go | 6 +++--- sim/hunter/chimera_shot.go | 6 +++--- sim/hunter/steady_shot.go | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sim/hunter/aimed_shot.go b/sim/hunter/aimed_shot.go index 2ad27901cd..cbe6283fbc 100644 --- a/sim/hunter/aimed_shot.go +++ b/sim/hunter/aimed_shot.go @@ -20,9 +20,9 @@ func (hunter *Hunter) registerAimedShotSpell(timer *core.Timer) { ManaCost: core.ManaCostOptions{ BaseCost: 0.08, - Multiplier: 1 * - (1 - 0.03*float64(hunter.Talents.Efficiency)) * - (1 - 0.05*float64(hunter.Talents.MasterMarksman)), + Multiplier: 1 - + 0.03*float64(hunter.Talents.Efficiency) - + 0.05*float64(hunter.Talents.MasterMarksman), }, Cast: core.CastConfig{ DefaultCast: core.Cast{ diff --git a/sim/hunter/black_arrow.go b/sim/hunter/black_arrow.go index e69320cb30..c5eee1a50c 100644 --- a/sim/hunter/black_arrow.go +++ b/sim/hunter/black_arrow.go @@ -22,9 +22,9 @@ func (hunter *Hunter) registerBlackArrowSpell(timer *core.Timer) { ManaCost: core.ManaCostOptions{ BaseCost: 0.06, - Multiplier: 1 * - (1 - 0.03*float64(hunter.Talents.Efficiency)) * - (1 - 0.2*float64(hunter.Talents.Resourcefulness)), + Multiplier: 1 - + 0.03*float64(hunter.Talents.Efficiency) - + 0.2*float64(hunter.Talents.Resourcefulness), }, Cast: core.CastConfig{ DefaultCast: core.Cast{ diff --git a/sim/hunter/chimera_shot.go b/sim/hunter/chimera_shot.go index b49d109b5b..1af575288a 100644 --- a/sim/hunter/chimera_shot.go +++ b/sim/hunter/chimera_shot.go @@ -22,9 +22,9 @@ func (hunter *Hunter) registerChimeraShotSpell() { ManaCost: core.ManaCostOptions{ BaseCost: 0.12, - Multiplier: 1 * - (1 - 0.03*float64(hunter.Talents.Efficiency)) * - (1 - 0.05*float64(hunter.Talents.MasterMarksman)), + Multiplier: 1 - + 0.03*float64(hunter.Talents.Efficiency) - + 0.05*float64(hunter.Talents.MasterMarksman), }, Cast: core.CastConfig{ DefaultCast: core.Cast{ diff --git a/sim/hunter/steady_shot.go b/sim/hunter/steady_shot.go index 667500453c..b64b3247ca 100644 --- a/sim/hunter/steady_shot.go +++ b/sim/hunter/steady_shot.go @@ -53,9 +53,9 @@ func (hunter *Hunter) registerSteadyShotSpell() { ManaCost: core.ManaCostOptions{ BaseCost: 0.05, - Multiplier: 1 * - (1 - 0.03*float64(hunter.Talents.Efficiency)) * - (1 - 0.05*float64(hunter.Talents.MasterMarksman)), + Multiplier: 1 - + 0.03*float64(hunter.Talents.Efficiency) - + 0.05*float64(hunter.Talents.MasterMarksman), }, Cast: core.CastConfig{ DefaultCast: core.Cast{