View Single Post
04/15/22, 11:15 AM   #3
Weolo
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 79
It is possible to add the location for motifs. The TraitBuddy addon does this to tooltips and its UI screen.
I don't think that idea fits with writs though as they are not found in specific locations.



If you want to add functionality like this to your own addon the secret is the description on the Outfit style. For example, the Motif to learn Ancient Orc Helm gives you the same Head Outfit Style. And the description on the Outfit Style says where it comes from.

Code wise its along these lines:
Lua Code:
  1. local id = 3467
  2. local description = GetCollectibleDescription(id)
  Reply With Quote