comparison RatPageController.lua @ 49:3b1f85a1cbb1

Fixed dropping of equipment sets in the Rat page.
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Fri, 03 May 2013 23:23:53 +0000
parents 6ce173840e68
children 8b8b0bade520
comparison
equal deleted inserted replaced
48:40892c6b6075 49:3b1f85a1cbb1
63 local spellID = select(3, GetCompanionInfo(subtype, index)) 63 local spellID = select(3, GetCompanionInfo(subtype, index))
64 return CyborgMMO_CreateWowObject('companion', spellID) 64 return CyborgMMO_CreateWowObject('companion', spellID)
65 elseif type=='battlepet' then 65 elseif type=='battlepet' then
66 local petID = a 66 local petID = a
67 return CyborgMMO_CreateWowObject('battlepet', petID) 67 return CyborgMMO_CreateWowObject('battlepet', petID)
68 elseif type=='equipmentset' then
69 local name = a
70 return CyborgMMO_CreateWowObject('equipmentset', name)
68 elseif type=='petaction' then 71 elseif type=='petaction' then
69 return nil 72 return nil
70 elseif type=='money' then 73 elseif type=='money' then
71 return nil 74 return nil
72 elseif type=='merchant' then 75 elseif type=='merchant' then