WoWInterface SVN NeedyGreedy

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 191 to Rev 192
    Reverse comparison

Rev 191 → Rev 192

NeedyGreedy.lua
1106,6 → 1106,7
functionName = message[2]
inputs = message[3]
link = stringValues[inputs[1]]
link = self:RemoveItemCountFromLink(link)
if inputs[2] == "me" then
player = UnitName("player")
elseif inputs[2] == "---" then
1125,6 → 1126,14
return {msg, functionName, link, player, roll, rollType}
end
 
function NeedyGreedy:RemoveItemCountFromLink(link)
if link == nil then return link end
 
local match = string.match(link, "(.+)x%d+$")
if match then link = match end
return link
end
 
function NeedyGreedy:RecordParser(functionName, link, player, roll, type)
if functionName == "RecordAwarded" then
self:RecordAwarded(link, player)