PredictedDraw
PredictedDraw = (
character) =>number
A predicted draw for character, from 0 up to 1 and never 1: the same on
the room and on the player’s page for one tick, and again on each replay of
it, so a predicted system draws a dash’s spread or a crit it predicts. Each
draw of one character in one tick is the next of its own, so draw in the
same order on both ends. It is no secret: a modified page can work out its
own draws ahead, so a hidden roll, such as loot, is random(step) on the
room, inside if (step.authoritative). Inside that check this is never
callable, since a draw on the room alone would shift every later draw of its
tick; draw before the check and use the value inside it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
character |
Entity |
Returns
Section titled “Returns”number