All public logs

Jump to navigation Jump to search

Combined display of all available logs of Empire of Dragons. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 15:37, 27 January 2024 Oberoten talk contribs created page Module:RPG (Created page with "-- Module for rolling RPG dice local p = {} -- Function to roll dice function p.rollDice(diceString) local num, sides, modifier = string.match(diceString, "(%d+)d(%d+)([%+%-]?%d*)") num = tonumber(num) or 1 sides = tonumber(sides) or 6 modifier = tonumber(modifier) or 0 local total = modifier for _ = 1, num do total = total + math.random(sides) end return total end return p")