Template:Dice ceil based average truncated

From Caves of Qud Wiki
Revision as of 15:57, 22 December 2020 by Egocarib (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Meant for use as a template parameter for Module:Dice/Format. Returns only the truncated (integer) mean for a dice roll string.

This particular version is intended for stat calculate specifically, because the game uses a math.ceil function on the stat roll + multiplier