-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo
127 lines (108 loc) · 4.08 KB
/
todo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
client indicates it is their turn
client shows initiative
client shows that it is rerolling initiative between rounds
gm shows current player
gm sorts by initiative
client prompts rolls
who initiates the prompt?
does it have to be your turn to do this if player initiates?
client allows entering the result of rolls
client sends result of roll back to gm
gm shows result of client roll
forever?
the last roll?
gm can easily add lethal damage to a player
gm can easily add nonlethal damage to a player
gm can easily add custom conditions to a player
this means a name and the effect it has
for example plus one to attack rolls
i'm the gm
i want ross to roll a reflex save
i click reflex save on morgana
the modal has a button that says "prompt roll"
i need a reflex save modal
the reflex save modal doesn't actually allow you to change the reflex roll
because the value for the reflex roll bonus comes from other components
the reflex roll bonus is entirely derived
one of those components might be an arbitrary condition
so the modal so far just has a button that says prompt roll
maybe it also has the previous rolls?
does the modal stay up while waiting for the roll result?
that actually makes sense
it could have a place to put the value to roll against
you wouldn't send this to the client, but you could flash their client red or green
i click the button to "prompt roll"
the button is disabled if nobody has morgana open as their active character
how does that work with ross, eidy, and morgana
this implies a message may come into the server saying ross has opened morgana
which changes the state of the server
which causes the ui to re-render
which enables the button
if so, it tells that client to prompt a reflex roll of 1d20 plus their reflex bonus
if ross closes morgana while this message is in flight
the client could force ross to open morgana
but then why does it choose ross instead of someone else
because ross is the client that the message was sent to
the server could track who _last_ opened a character
this seems crappy and implicit
there should be a button on the character list that says claim
and clients should have a place to put their name with a debounce that broadcasts it to everyone
the client opens a modal over whatever screen ross' client is on
the modal says "Do a reflex save!"
it describes what to roll
it has an input box to type the result
it has a button that says roll for me that math.random
it has a button to submit
the input makes sure the entered value is an integer
upon submission the client waits for the response from the server against the checked value
and changes color based on miss or hit
when ross clicks submit
the gm players screen
has an integrated log that shows the roll result?
shows the roll on the player sheet somehow?
opens a modal with the role result?
i don't like opening modals from something other than user actions
attacker
dc 13 stunning fist
defender
rolls fortitude + 1, must beat 13
2-21
wins on 14-21
14 15 16 17 18 19 20 21
1 2 3 4 5 6 7 8
8 * 5 = 40% success for defender
60% success for attacker
defender
fortitude 11
attacker
rolls d20+3, must beat 11
4-23
winds on 12-23
12 * 5 = 60% success for attacker
40% success for defender
opposed d20 rolls can be swapped
roll attack roll d20 + bonus to hit
try to beat static AC
1d20+3 trying to beat 14
4 - 23
d20 + n to beat threshold
we can swap who defines the threshold with who rolls
sometimes the attacker sets the threshold
sometimes the defender sets the threshold
if we use swapping so the the GM sets the threshold and the player always rolls
then we can say the roller wins on a tie so the player always wins on a tie
dc13 means +3
fort+1 means dc11
d20 + n to beat d20 + n
is someone always setting the threshold here?
sometimes i set the threshold with a 20
so for an attack against the player
need to swap so i set the threshold
so bab +7 means dc 17
ac 16 means +6
player rolls 1d20+6 against dc17
vs
gm rolls 1d20+7 against dc16
what does this mean for prompting rolls
for example, sometimes I want to prompt an AC roll
I guess I click on AC