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

Feat/more monsters #122

Merged
merged 4 commits into from
Dec 17, 2020
Merged

Feat/more monsters #122

merged 4 commits into from
Dec 17, 2020

Conversation

oskarrough
Copy link
Owner

This PR allows monsters to define random values for health and damage intents. Adding other things should be fine as well now.

Monster({
  random: 2,
  intents: [
    {damage: 10}
  ]
})

The damage won't be 10, but a value between 8 and 12, because of the random value.

Closes #50

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.

Add more randomness
1 participant