diff --git a/src/actions/GmAction.lua b/src/actions/GmAction.lua index 320f1fa..6bc7968 100644 --- a/src/actions/GmAction.lua +++ b/src/actions/GmAction.lua @@ -52,6 +52,18 @@ function _M.get(role, pms) role:award({[itemId] = 100}) end end + elseif pms.pm1 == "RUNE" then + for itemId = 1000 , 2000 do + if csvdb["itemCsv"][itemId] then + role:award({[itemId] = 100}) + end + end + elseif pms.pm1 == "FRAG" then + for itemId = 100 , 400 do + if csvdb["itemCsv"][itemId] then + role:award({[itemId] = 100}) + end + end else local itemId = tonum(pms.pm1) if not csvdb["itemCsv"][itemId] then -- libgit2 0.21.2