[RFC] Talent Red Alert
Posted: Wed Mar 09, 2016 5:07 am
Fleshing out an idea originally suggested over on the ZOmnibus thread. The basic idea is to modify the actor tooltip to include prominent notice of certain particularly threatening talents when possessed by NPCs, to provide early warning of dangerous opponents. As discussed in the original description, the tricky bit of this will be that we want the player to be able to configure which talents the addon should worn about, and to specify player-related conditions for when each talent should be warned about (only for certain player classes, only if player does not have certain other talents, et cetera).
The rough idea is to have a configuration dialog of sorts, with a list of "rules" and UI controls for adding new rules. Each rule would have a talent to warn about (multiple talents? talent tree?), a player property to check (race, class, talent, level, etc.), a target value to compare against, and a comparison (equal, not equal, has, doesn't have, greater than, less then, etc.). This will get more complicated if we want to allow multiple conditions in the same rule; "or" combinations could be covered by having multiple rules for the same talent, while "and" combinations would require multiple sets of UI controls for the conditions.
Other notes:

The rough idea is to have a configuration dialog of sorts, with a list of "rules" and UI controls for adding new rules. Each rule would have a talent to warn about (multiple talents? talent tree?), a player property to check (race, class, talent, level, etc.), a target value to compare against, and a comparison (equal, not equal, has, doesn't have, greater than, less then, etc.). This will get more complicated if we want to allow multiple conditions in the same rule; "or" combinations could be covered by having multiple rules for the same talent, while "and" combinations would require multiple sets of UI controls for the conditions.
Other notes:
- Since we're talking about player-based rules for when certain talents are warned about, I assume we'll want these rules to be shared across all characters, which means the configuration information will need to live in either the world{} table or user prefs. Would we want to provide a "default" rule set for new users, to give them something to work from?
- For technical reasons, this one won't be easy to include in ZOmnibus; to make it compatible with the Plenum Tooltip addon, I'll need to give it a much higher addon weight than ZOmnibus uses.

