[DiscordArchive] Do we have anything in the way of unit tests for in-game behaviors? Stuff like simulating batches of
[DiscordArchive] Do we have anything in the way of unit tests for in-game behaviors? Stuff like simulating batches of
Archived author: Deleted User • Posted: 2023-01-14T01:48:19.524000+00:00
Original source
Do we have anything in the way of unit tests for in-game behaviors? Stuff like simulating batches of mob kills, gathering nodes, etc, to test drop rates?
Archived author: Bench • Posted: 2023-01-14T01:53:19.815000+00:00
Original source
Not that I know of, typically drop rates don't tend to need testing in individual, small-scale PRs, maybe just a few kills to make sure the item you're modifying actually still drops
Archived author: Bench • Posted: 2023-01-14T01:54:30.571000+00:00
Original source
If there's an issue with drop rate calculations, I'd imagine it wouldn't be within the scope of most drop table PRs
Archived author: Deleted User • Posted: 2023-01-14T02:10:54.247000+00:00
Original source
In the droprate case I was thinking of using it as a general audit to find discrepancies that any one player is unlikely to find on their own because of the scale needed to confirm something like droprate. Not necessarily as a blocking test, but something to flag anomalies for investigation if they seem important.