Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: gotw should proc ooc #3931

Merged
merged 1 commit into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sim/druid/fake_gotw.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ func (druid *Druid) registerFakeGotw() {
GCD: core.GCDDefault,
},
},
ApplyEffects: func(sim *core.Simulation, target *core.Unit, spell *core.Spell) {
spell.CalcAndDealOutcome(sim, target, spell.OutcomeAlwaysHit)
},
})
}
16 changes: 8 additions & 8 deletions sim/druid/feral/TestFeral.results
Original file line number Diff line number Diff line change
Expand Up @@ -1044,15 +1044,15 @@ dps_results: {
dps_results: {
key: "TestFeral-Settings-Tauren-p1-Flower-Aoe--FullBuffs-LongMultiTarget"
value: {
dps: 22991.33879
tps: 16642.6613
dps: 22998.29379
tps: 16645.12872
}
}
dps_results: {
key: "TestFeral-Settings-Tauren-p1-Flower-Aoe--FullBuffs-LongSingleTarget"
value: {
dps: 4747.33047
tps: 3448.80558
dps: 4752.57417
tps: 3452.55097
}
}
dps_results: {
Expand All @@ -1065,15 +1065,15 @@ dps_results: {
dps_results: {
key: "TestFeral-Settings-Tauren-p1-Flower-Aoe--NoBuffs-LongMultiTarget"
value: {
dps: 14733.47866
tps: 10879.36617
dps: 14726.51057
tps: 10871.88145
}
}
dps_results: {
key: "TestFeral-Settings-Tauren-p1-Flower-Aoe--NoBuffs-LongSingleTarget"
value: {
dps: 2572.3973
tps: 1908.02844
dps: 2581.1908
tps: 1913.92756
}
}
dps_results: {
Expand Down
6 changes: 6 additions & 0 deletions sim/druid/talents.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ func (druid *Druid) applyOmenOfClarity() {
if !result.Landed() {
return
}

// https://github.com/JamminL/wotlk-classic-bugs/issues/66#issuecomment-1182017571
if druid.HurricaneTickSpell.IsEqual(spell) {
curCastTickSpeed := spell.CurCast.ChannelTime.Seconds() / 10
Expand All @@ -424,6 +425,11 @@ func (druid *Druid) applyOmenOfClarity() {
chanceToProc *= 0.25
} else if druid.Moonfire.IsEqual(spell) { // Add Moonfire
chanceToProc *= 0.076
} else if druid.GiftOfTheWild.IsEqual(spell) { // Add Gift of the Wild
// the above comment says it's 0.0875 * (1-0.924) which apparently is out-dated,
// there is no longer an instant suppression factor
// we assume 30 targets (25man + pets)
chanceToProc = 1 - math.Pow(1-chanceToProc, 30)
} else {
chanceToProc *= 0.666
}
Expand Down
2 changes: 1 addition & 1 deletion sim/rogue/TestAssassination.results
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ character_stats_results: {
final_stats: 221
final_stats: 0
final_stats: 5504.84
final_stats: 469.94994
final_stats: 469.94995
final_stats: 2072.9756
final_stats: 221
final_stats: 94
Expand Down
2 changes: 1 addition & 1 deletion sim/rogue/TestCombat.results
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ character_stats_results: {
final_stats: 264
final_stats: 0
final_stats: 5996.3904
final_stats: 418.94994
final_stats: 418.94995
final_stats: 2218.9399
final_stats: 264
final_stats: 94
Expand Down
Loading