WoWInterface SVN NeedyGreedy

Compare Revisions

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

Rev 192 → Rev 191

NeedyGreedy.lua
1106,7 → 1106,6
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
1126,14 → 1125,6
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)