Open jnolan-poloniex opened 3 years ago
adjust_attributes
?adjust_attributes
would help for when I want to adjust a bunch of character attributes at once so I can do it with 1 API call instead of 2 or 3.
d20
, not in the sense that we have some centralized utility that we can use to handle all of the weird edge cases etc.Or instead of making a new API like adjust_attributes
, we could update set_attribute
to be able to update multiple attributes at once
Or instead of making a new API like
adjust_attributes
, we could updateset_attribute
to be able to update multiple attributes at once
I prefer this approach. Better yet might be to replace set_attribute
with a set_attributes
call that takes a list (though that list can be only one element). Up to you.
adjust_attributes
would help for when I want to adjust a bunch of character attributes at once so I can do it with 1 API call instead of 2 or 3.
- I don't think enemy copying exists right now in the code base
- good to know about the bestiary - it looks like there are a couple of enemies in there that look fine? E.g. https://vennt.fandom.com/wiki/Thunder_Lizard
- I think I've had a change of heart on handling dice rolling - I would really like to support manually rolling dice (like in real life) or allowing the frontend to roll dice. Since users can input information for everything else, this doesn't seem too strange. Rolling dice is handled in the sense that we have
d20
, not in the sense that we have some centralized utility that we can use to handle all of the weird edge cases etc.
I'm not sure if Thunder Lizard's stats are correct as of the latest L-based function on the Foes page, though I'm not sure it matters a great deal.
Regarding rolling, I would be perfectly fine with having rolls be client-side rather than server-side. Although I think we should provide a single roll utility where the client can specify a rollstring and we simply return how d20 parses it.
Character Management
Attribute management
adjust_attributes
api that can adjust multiple character attributes at once.Ability management
flavor
and don't include that text in the main description.Create item / weapon shop
Enemy Management
Campaigns / Combat
actions
/reactions
/gm_only
etc.