Skip to content

Commit ec10995

Browse files
authored
Merge pull request #60 from wowsims/fix/balance-druid
Balance druid initial implementation
2 parents 01b6c88 + 077b6d1 commit ec10995

58 files changed

Lines changed: 2247 additions & 1489 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sim/core/buffs.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -464,11 +464,7 @@ func registerExclusiveSpellHaste(aura *Aura, spellHastePercent float64) {
464464
}
465465

466466
func MoonkinAura(unit *Unit) *Aura {
467-
aura := makeExclusiveBuff(unit, BuffConfig{
468-
"Moonkin Aura",
469-
ActionID{SpellID: 24907},
470-
[]StatConfig{}})
471-
467+
aura := makeExclusiveBuff(unit, BuffConfig{"Moonkin Aura", ActionID{SpellID: 24907}, nil})
472468
registerExclusiveSpellHaste(aura, 0.05)
473469
return aura
474470
}

sim/core/spell_outcome.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,8 @@ func (result *SpellResult) applyAttackTableHit(spell *Spell, countHits bool) {
771771
}
772772

773773
func (result *SpellResult) applyEnemyAttackTableMiss(spell *Spell, attackTable *AttackTable, roll float64, chance *float64) bool {
774-
missChance := result.Target.GetTotalChanceToBeMissedAsDefender(attackTable) + spell.Unit.PseudoStats.IncreasedMissChance
774+
missChance := result.Target.GetTotalChanceToBeMissedAsDefender(attackTable)
775+
775776
if spell.Unit.AutoAttacks.IsDualWielding && !spell.Unit.PseudoStats.DisableDWMissPenalty {
776777
missChance += 0.19
777778
}

sim/core/stats/stats.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,7 @@ type PseudoStats struct {
390390
BonusOHDps float64
391391
BonusRangedDps float64
392392

393-
DisableDWMissPenalty bool // Used by Heroic Strike and Cleave
394-
IncreasedMissChance float64 // Insect Swarm and Scorpid Sting
393+
DisableDWMissPenalty bool // Used by Heroic Strike and Cleave
395394

396395
ThreatMultiplier float64 // Modulates the threat generated. Affected by things like salv.
397396

sim/druid/_glyphs.go

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)