rjb25 / 5e-dm-assistant

An assistant python script to be run for keeping track of health and automatically running attacks in combat for dnd 5e
1 stars 1 forks source link

Dice Roll Option #7

Open v6 opened 3 years ago

v6 commented 3 years ago

Some buttons to roll dice would be nice, I guess, especially if it records the output.

Not sure if that needs to be done via the API?

v6 commented 3 years ago

I implemented this via the API, although the fact that it reloads the page is kind of annoying.

image

image

This does require a specific syntax for the dice rolls, would be nice to have this more visual, but this will work for now.

v6 commented 3 years ago

Would be nicer to have this in JS like here:

https://codepen.io/Pyremell/pen/eZGGXX

However, the eventual goal is to have buttons next to each character for their attacks, including a "repeat last action" button. Thoughts @rjb25?

rjb25 commented 3 years ago

Possible to move dnd to tmrw night?

On Fri, May 21, 2021 at 2:54 PM Nathan Basanese @.***> wrote:

Would be nicer to have this in JS like here:

https://codepen.io/Pyremell/pen/eZGGXX

However, the eventual goal is to have buttons next to each character for their attacks, including a "repeat last action" button. Thoughts @rjb25 https://github.com/rjb25?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rjb25/5e-dm-assistant/issues/7#issuecomment-846171469, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7UJNYXHZ7RTUTKET4UHFDTO2T43ANCNFSM45EBB2XQ .

v6 commented 3 years ago

@rjb25 check this out: http://basane.se/dice/dice/

rjb25 commented 3 years ago

Seems to always add 2 dice per click

On Sat, May 22, 2021, 12:43 AM Nathan Basanese @.***> wrote:

@rjb25 https://github.com/rjb25 check this out: http://basane.se/dice/dice/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rjb25/5e-dm-assistant/issues/7#issuecomment-846349007, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7UJN7E3BTE3U37MDFTPZDTO4ZA3ANCNFSM45EBB2XQ .