Trix is a simple addon to help rogues manage Tricks of the Trade usage. Trix will create 3 macros if they don't exist: Trix1, Trix2, and TrixAIO.
Trix1 and Trix2 will cast Tricks of the Trade on any unit by ID or by name. I personally use #1 to cast on a tank by name, and #2 to cast on a DPS by name. These can be used in any way you like, including casting on a unitid.
TrixAIO is an all-in-one macro:
- showtooltip Tricks of the Trade
/cast [help] [target=focus, help] [target=targettarget, help] Tricks of the Trade
This will prioritize the following: Cast Tricks on your target if it is friendly > cast Tricks on your focus if it is friendly > cast Tricks on your target's target if it is friendly.
In addition to creating these macros, Trix adds the /trix slash command.
"/trix # unit" will edit Trix1 or Trix2 (depending on the #), so that it casts on the specified unit. This allows for maintaining control over casting on a specific target without having to manually edit the macros.
For example: "/trix 1 Tank" will edit the Trix1 macro to cast on a target named "Tank". Additionally "t" is a valid argument for unit. "/trix 1 t" will set the macro to the name of your target if it exists. Useful for players with non-standard characters or long names.
Trix can also announce successful tricks of the trade casts. This option is disabled by default and can be enabled in the interface options addons tab. You can choose to display the announcements to Party, Raid, Whisper, or Smart. Whisper will automatically announce to the unit receiving tricks. Smart will announce to raid if you're in a raid, party if you're in a party, otherwise it will not announce.
The announce message can be edited in the /trix options menu. %s will be replaced by the name of the unit receiving tricks of the trade.