Going through the list of possible values for editing one's MRP Tooltip, I was irked to find no Gender hooks. Any chance of getting that in with the next update? Pretty simple an addition, really.
My LUA's pretty rusty, but I think it'd go something like:
if (info == MRP_TOOLTIP_GENDER) then
if (UnitSex(target)) then
if (UnitSex(target, "1")) then
return (mrpHexStart .. "Male" .. " " .. mrpHexEnd);
elseif (UnitSex(target, "2")) then
return (mrpHexStart .. "Female" .. " " .. mrpHexEnd);
end
else
return (MRP_TOOLTIP_EMPTY_STRING);
end
return (MRP_TOOLTIP_EMPTY_STRING);
end
Been a few years, hope that's right. I'm sure you guys know what I'm getting at though, hope that saves you some effort. Helps to have that kind of thing visible for dealing with Shapeshifted players (often Druids).