This commit is contained in:
2024-11-07 23:12:37 +01:00
parent a67a1d8f40
commit f7c91862a0
3089 changed files with 18209 additions and 0 deletions

10
Meta/api/RollOnLoot.lua Normal file
View File

@@ -0,0 +1,10 @@
---@diagnostic disable: missing-return, lowercase-global
---@param id number
---@param rollType 3
---@param 0
---@param 1
---@param 2
---@param 3
---Register the player's intent regarding an item up for loot rolling. Rolls are not actually performed until all eligible group members have registered their intent or the time period for rolling expires. If the item binds on pickup, the CONFIRM_LOOT_ROLL event fires, indicating that ConfirmLootRoll(id) must be called in order to actually roll on the item.
function RollOnLoot(id, rollType, 0, 1, 2, 3) end