Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Randomization related #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Randomization related #6

wants to merge 1 commit into from

Conversation

Zot201
Copy link

@Zot201 Zot201 commented Sep 3, 2014

The icons array of length 8 would accept indexes range between [0..8). While rand.nextInt(8) is giving the exactly same range [0..8), no further adjustment to the index should be required. The similar logic could be applied to the validEnchants list as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant