Skip to content

Commit

Permalink
fix meta gem socket bonus. ignite should not proc clearcasting. lower…
Browse files Browse the repository at this point in the history
… evocate threshold (#3717)
  • Loading branch information
lime-green committed Sep 21, 2023
1 parent d4c824d commit a0e1086
Show file tree
Hide file tree
Showing 11 changed files with 708 additions and 709 deletions.
3 changes: 1 addition & 2 deletions sim/core/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package core

import (
"fmt"

"github.com/wowsims/wotlk/sim/core/proto"
"github.com/wowsims/wotlk/sim/core/stats"
"google.golang.org/protobuf/encoding/protojson"
Expand Down Expand Up @@ -397,7 +396,7 @@ func ColorIntersects(g proto.GemColor, o proto.GemColor) bool {
return true
}
if g == proto.GemColor_GemColorMeta {
return false // meta gems o nothing.
return o == proto.GemColor_GemColorUnknown
}
if g == proto.GemColor_GemColorRed {
return o == proto.GemColor_GemColorOrange || o == proto.GemColor_GemColorPurple
Expand Down
4 changes: 2 additions & 2 deletions sim/deathknight/ghoul_frenzy.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (dk *Deathknight) registerGhoulFrenzySpell() {
Label: "Ghoul Frenzy",
Duration: time.Second * 30.0,
OnReset: func(aura *core.Aura, sim *core.Simulation) {
if dk.Inputs.PrecastGhoulFrenzy {
if !dk.IsUsingAPL && dk.Inputs.PrecastGhoulFrenzy {
dk.GhoulFrenzyAura.Activate(sim)
dk.GhoulFrenzyAura.UpdateExpires(sim.CurrentTime + time.Second*20)
}
Expand All @@ -78,7 +78,7 @@ func (dk *Deathknight) registerGhoulFrenzySpell() {
Label: "Ghoul Frenzy",
Duration: time.Second * 30.0,
OnReset: func(aura *core.Aura, sim *core.Simulation) {
if dk.Inputs.PrecastGhoulFrenzy {
if !dk.IsUsingAPL && dk.Inputs.PrecastGhoulFrenzy {
dk.Ghoul.GhoulFrenzyAura.Activate(sim)
dk.Ghoul.GhoulFrenzyAura.UpdateExpires(sim.CurrentTime + time.Second*20)
}
Expand Down
4 changes: 2 additions & 2 deletions sim/deathknight/horn_of_winter.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (dk *Deathknight) registerHornOfWinterSpell() {
ActionID: actionID,
Duration: duration,
OnReset: func(aura *core.Aura, sim *core.Simulation) {
if dk.Inputs.PrecastHornOfWinter && dk.Inputs.RefreshHornOfWinter {
if !dk.IsUsingAPL && dk.Inputs.PrecastHornOfWinter && dk.Inputs.RefreshHornOfWinter {
aura.Activate(sim)
}
},
Expand Down Expand Up @@ -52,7 +52,7 @@ func (dk *Deathknight) registerHornOfWinterSpell() {
IgnoreHaste: true,
},
ApplyEffects: func(sim *core.Simulation, target *core.Unit, spell *core.Spell) {
if dk.Inputs.RefreshHornOfWinter {
if !dk.IsUsingAPL && dk.Inputs.RefreshHornOfWinter {
dk.HornOfWinterAura.Activate(sim)
}
dk.AddRunicPower(sim, 10, rpMetrics)
Expand Down
4 changes: 2 additions & 2 deletions sim/druid/balance/TestBalancePhase3.results
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,8 @@ dps_results: {
dps_results: {
key: "TestBalancePhase3-AllItems-LasherweaveRegalia"
value: {
dps: 10121.88915
tps: 9902.7564
dps: 10122.42199
tps: 9903.28923
}
}
dps_results: {
Expand Down
2 changes: 1 addition & 1 deletion sim/druid/items.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ var ItemSetLasherweaveRegalia = core.NewItemSet(core.ItemSet{
},
},
ApplyEffects: func(sim *core.Simulation, target *core.Unit, spell *core.Spell) {
spell.SpellMetrics[target.UnitIndex].Hits++
spell.Dot(target).ApplyOrReset(sim)
spell.CalcAndDealOutcome(sim, target, spell.OutcomeAlwaysHit)
},
})

Expand Down
Loading

0 comments on commit a0e1086

Please sign in to comment.