Skip to content

Commit cbac80e

Browse files
committed
Update tests
1 parent 33ed8b2 commit cbac80e

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

sim/monk/brewmaster/TestBrewmaster.results

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ character_stats_results: {
3232
final_stats: 22.54412
3333
final_stats: 38.74531
3434
final_stats: 19.035
35-
final_stats: nan
35+
final_stats: 0
3636
}
3737
}
3838
dps_results: {

sim/monk/passives.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func (monk *Monk) registerWayOfTheMonk() {
2121
aura := core.MakePermanent(monk.RegisterAura(core.Aura{
2222
Label: "Way of the Monk" + monk.Label,
2323
ActionID: core.ActionID{SpellID: 120277},
24-
BuildPhase: core.CharacterBuildPhaseBase,
24+
BuildPhase: core.CharacterBuildPhaseTalents,
2525
OnGain: func(aura *core.Aura, sim *core.Simulation) {
2626
if monk.HandType == proto.HandType_HandTypeTwoHand {
2727
monk.MultiplyMeleeSpeed(sim, 1.4)
@@ -78,7 +78,7 @@ func (monk *Monk) registerSwiftReflexes() {
7878
},
7979
})
8080

81-
core.MakeProcTriggerAura(&monk.Unit, core.ProcTrigger{
81+
aura := core.MakeProcTriggerAura(&monk.Unit, core.ProcTrigger{
8282
Name: "Swift Reflexes" + monk.Label,
8383
ActionID: core.ActionID{SpellID: 124334},
8484
Outcome: core.OutcomeParry,
@@ -87,5 +87,7 @@ func (monk *Monk) registerSwiftReflexes() {
8787
Handler: func(sim *core.Simulation, spell *core.Spell, result *core.SpellResult) {
8888
swiftReflexesAttack.Cast(sim, spell.Unit)
8989
},
90-
}).AttachAdditivePseudoStatBuff(&monk.PseudoStats.BaseParryChance, 0.05)
90+
})
91+
aura.BuildPhase = core.CharacterBuildPhaseTalents
92+
aura.AttachAdditivePseudoStatBuff(&monk.PseudoStats.BaseParryChance, 0.05)
9193
}

sim/monk/windwalker/TestWindwalker.results

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ character_stats_results: {
3232
final_stats: 14.91471
3333
final_stats: 31.01271
3434
final_stats: 13.22
35-
final_stats: nan
35+
final_stats: 0
3636
}
3737
}
3838
dps_results: {

ui/monk/brewmaster/sim.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecBrewmasterMonk, {
2424
Stat.StatStrength,
2525
Stat.StatAttackPower,
2626
Stat.StatHitRating,
27+
Stat.StatExpertiseRating,
2728
Stat.StatCritRating,
2829
Stat.StatHasteRating,
30+
Stat.StatDodgeRating,
31+
Stat.StatParryRating,
2932
Stat.StatMasteryRating,
30-
Stat.StatExpertiseRating,
3133
],
3234
epPseudoStats: [PseudoStat.PseudoStatMainHandDps, PseudoStat.PseudoStatOffHandDps, PseudoStat.PseudoStatPhysicalHitPercent],
3335
// Reference stat against which to calculate EP.
@@ -41,6 +43,8 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecBrewmasterMonk, {
4143
PseudoStat.PseudoStatPhysicalCritPercent,
4244
PseudoStat.PseudoStatSpellCritPercent,
4345
PseudoStat.PseudoStatMeleeHastePercent,
46+
PseudoStat.PseudoStatDodgePercent,
47+
PseudoStat.PseudoStatParryPercent,
4448
],
4549
),
4650

0 commit comments

Comments
 (0)