Skip to content

Commit

Permalink
Merge pull request wowsims#416 from InDebt/master
Browse files Browse the repository at this point in the history
[Priest] Fixup sin and punishment
  • Loading branch information
InDebt authored May 11, 2024
2 parents 29363b1 + 33a0b47 commit 5b4c27b
Show file tree
Hide file tree
Showing 3 changed files with 392 additions and 389 deletions.
2 changes: 2 additions & 0 deletions sim/core/pet.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func (pet *Pet) reset(sim *Simulation, agent PetAgent) {
}
func (pet *Pet) doneIteration(sim *Simulation) {
pet.Character.doneIteration(sim)
pet.Disable(sim)
pet.isReset = false
}

Expand Down Expand Up @@ -202,6 +203,7 @@ func (pet *Pet) EnableWithTimeout(sim *Simulation, petAgent PetAgent, petDuratio
pet.Disable(sim)
},
}

sim.AddPendingAction(pet.timeoutAction)
}

Expand Down
Loading

0 comments on commit 5b4c27b

Please sign in to comment.