about=config.desc("SilverDragon can put some information about mobs into their tooltips. For rares, that can include whether you actually need to kill them for an achievement.",0),
achievement=config.toggle("Achievements","Show if you need a rare mob for an achievement"),
drop=config.toggle("Drops","Show if you need a drop from a mob"),
id=config.toggle("Unit IDs","Show mob ids in tooltips"),
},
},
}
end
end
functionmodule:OnEnable()
self:RegisterEvent("UPDATE_MOUSEOVER_UNIT")
end
functionmodule:UPDATE_MOUSEOVER_UNIT()
self:UpdateTooltip(core:UnitID('mouseover'))
end
-- This is split out entirely so I can test this without having to actually hunt down a rare: