[DiscordArchive] Anyone know what functions the client uses when generating a tooltip for an item with enchantIDs or
[DiscordArchive] Anyone know what functions the client uses when generating a tooltip for an item with enchantIDs or
Archived author: Soldan • Posted: 2021-11-02T14:37:36.088000+00:00
Original source
Anyone know what functions the client uses when generating a tooltip for an item with enchantIDs or SuffixIDs in it's itemstring?
The itemstring has the IDs, but the tooltip shows the data (such as name, stats, etc) so afaik there must be a client function to grab the data from the DBCs by passing the IDs as an arg?
![[Image: unknown.png?ex=690c0a6f&is=690ab8ef&hm=d...b5365103a&]](https://cdn.discordapp.com/attachments/415944535718494208/905103892080128010/unknown.png?ex=690c0a6f&is=690ab8ef&hm=d417e3f47ca94c77ec972d9df5ad8c8f4cb60fcb1ac9d947fe5c930b5365103a&)
Archived author: Soldan • Posted: 2021-11-02T14:39:44.588000+00:00
Original source
Want to try and grab the data from the EnchantID, so I can display it in lua
![[Image: unknown.png?ex=690c0a6f&is=690ab8ef&hm=d...b5365103a&]](https://cdn.discordapp.com/attachments/415944535718494208/905103892080128010/unknown.png?ex=690c0a6f&is=690ab8ef&hm=d417e3f47ca94c77ec972d9df5ad8c8f4cb60fcb1ac9d947fe5c930b5365103a&)
Archived author: Soldan • Posted: 2021-11-02T14:42:06.301000+00:00
Original source
Worst case I could just index the enchant IDs in a lua table..and get the names from there but thought there might be a more efficient way, since it's already being done for tooltips