Skip to content

Commit

Permalink
Fix priest multi shadowfiend damage
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberQuackGames committed Mar 8, 2023
1 parent 2599edc commit 9437557
Show file tree
Hide file tree
Showing 14 changed files with 2,136 additions and 3,201 deletions.
1,069 changes: 0 additions & 1,069 deletions sim/deathknight/dps/TestFrostUH.results

This file was deleted.

240 changes: 120 additions & 120 deletions sim/mage/TestArcane.results

Large diffs are not rendered by default.

448 changes: 224 additions & 224 deletions sim/mage/TestFire.results

Large diffs are not rendered by default.

448 changes: 224 additions & 224 deletions sim/mage/TestFrost.results

Large diffs are not rendered by default.

424 changes: 212 additions & 212 deletions sim/mage/TestFrostFire.results

Large diffs are not rendered by default.

238 changes: 119 additions & 119 deletions sim/priest/healing/TestDisc.results

Large diffs are not rendered by default.

242 changes: 121 additions & 121 deletions sim/priest/healing/TestHoly.results

Large diffs are not rendered by default.

640 changes: 320 additions & 320 deletions sim/priest/shadow/TestShadow.results

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions sim/priest/shadowfiend_pet.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var baseStats = stats.Stats{

func (priest *Priest) NewShadowfiend() *Shadowfiend {
shadowfiend := &Shadowfiend{
Pet: core.NewPet("Shadowfiend", &priest.Character, baseStats, priest.shadowfiendStatInheritance(), nil, false, false),
Pet: core.NewPet("Shadowfiend", &priest.Character, baseStats, priest.shadowfiendStatInheritance(), nil, false, true),
Priest: priest,
}

Expand Down Expand Up @@ -69,7 +69,7 @@ func (priest *Priest) NewShadowfiend() *Shadowfiend {
BaseDamageMax: 210,
SwingSpeed: 1.5,
NormalizedSwingSpeed: 1.5,
SwingDuration: time.Millisecond * 1500,
SwingDuration: time.Millisecond * 1200,
CritMultiplier: 2,
SpellSchool: core.SpellSchoolShadow,
},
Expand Down Expand Up @@ -124,6 +124,10 @@ func (shadowfiend *Shadowfiend) Reset(sim *core.Simulation) {
shadowfiend.Disable(sim)
}

func (shadowfiend *Shadowfiend) OnPetDisable(sim *core.Simulation) {
shadowfiend.ShadowcrawlAura.Deactivate(sim)
}

func (shadowfiend *Shadowfiend) GetPet() *core.Pet {
return &shadowfiend.Pet
}
Loading

0 comments on commit 9437557

Please sign in to comment.