joshmiller17 / vennt-server

A headless server for making API calls to the Vennt database.
MIT License
1 stars 2 forks source link

Frontend / Backend Feature Tracking #6

Open jnolan-poloniex opened 3 years ago

jnolan-poloniex commented 3 years ago

Character Management

Enemy Management

Campaigns / Combat

joshmiller17 commented 3 years ago
jnolan-poloniex commented 3 years ago

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.

jnolan-poloniex commented 3 years ago

Or instead of making a new API like adjust_attributes, we could update set_attribute to be able to update multiple attributes at once

joshmiller17 commented 3 years ago

Or instead of making a new API like adjust_attributes, we could update set_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.

joshmiller17 commented 3 years ago

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.