Skip to content

Commit

Permalink
fix(storyteller): add 1 to all attributes in rng generator (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
natelandau authored Sep 27, 2023
1 parent 1547afa commit 00a3503
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# Todo List

- [ ] Character: Add Concept
- [ ] Character: Add Character generator
- [ ] Character: Add Character generation roll bot
- [ ] Character: Add full character generator
- [ ] Character: Add class/concept generator
- [ ] Campaign: Rework campaigns to be the backbone of gameplay
- [ ] Campaign: Renumber chapters
- [ ] Campaign: View any campaign, not just active one
- [ ] Campaign: Associate characters with campaigns
- [ ] Campaign: If only one campaign, always set it as active
- [ ] Campaign: Improve campaign view
- [ ] Campaign: Improve campaign paginator view
- [ ] Gameplay: Button to create macro from rolling traits
- [ ] Statistics: Pull stats based on timeframe
- [ ] Storyteller: Add notes
- [ ] Refactor: Centralize pagination for long responses
- [ ] Refactor: Move logic out of cogs and to services or db models
- [ ] Refactor: Move testable logic out of cogs and to services or db models
- [ ] Tests: Add tests for converters
- [ ] Tests: Add tests for cogs
- [ ] Users: Add notes per user
2 changes: 1 addition & 1 deletion src/valentina/utils/storyteller.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __storyteller_attributes(
attribute_adjustment = attribute_adjustment_map.get(level, 0)

# Attributes
attribute_values = {"primary": [3, 2, 2], "secondary": [2, 2, 1], "tertiary": [1, 1, 1]}
attribute_values = {"primary": [4, 3, 3], "secondary": [3, 3, 2], "tertiary": [1, 2, 3]}

while len(attributes) > 0:
cat: str = random.choice([x for x in attributes])
Expand Down

0 comments on commit 00a3503

Please sign in to comment.