Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This repository was archived by the owner on May 28, 2025. It is now read-only.

Adjust Drop System Random to Match Original Game Experience #545

@HarleyGilpin

Description

@HarleyGilpin

Description:

It has been observed that the current drop system using SecureRandom may be producing an unintended effect on the drop rates, leading to a less authentic gameplay experience compared to the original game.

Issue Details:

The current implementation uses SecureRandom for generating random drops, which is designed to provide cryptographically strong randomness. While this is beneficial for security purposes, it may not be suitable for gameplay where certain patterns are expected by players.
Players have reported that items, such as the air talisman or dark robes, are not dropping as frequently as expected. For instance, after killing hundreds of goblins, the air talisman has not dropped, which contrasts with the original game experience.
The original game likely used a simpler pseudo-random number generator (PRNG), which may have produced more predictable and consistent drop patterns.
Proposed Solution:

Switch to Regular Random:

Replace SecureRandom with java.util.Random to generate drops.
This change is expected to produce a drop experience more closely aligned with the original game.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions