Initial commit
This commit is contained in:
6
api/RandomRoll.lua
Normal file
6
api/RandomRoll.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param min number,string
|
||||
---@param max number,string
|
||||
---Initiates a public, server-side "dice roll". Used in the default UI to implement the /roll chat command; when called, the server generates a random integer and sends it to the player and all others nearby (or in the same party/raid) via a CHAT_MSG_SYSTEM event. (The server message is formatted according to the global RANDOM_ROLL_RESULT; e.g. "Leeroy rolls 3 (1-100)".) For random number generation that does not involve the server or send visible messages to other clients, see math.random.
|
||||
function RandomRoll(min, max) end
|
||||
Reference in New Issue
Block a user