Description
PVPWarn
PVPWarn aims to help players hear and see enemy spells cast on them, as well as spells that an enemy player resisted or that the player themselves resisted
Providers
What is PVPWarn?
PVPWarn's goal is to help the player recognize combat log events in a more visual and acoustic way. PVPWarn can display visual and acoustic cues when a certain event is found in the combat log. As an example, PVPWarn might play a sound both when an enemy warrior activates Recklessness and when it runs out.
Source/Issues
Features of PVPWarn
Warning
The basic feature of warning the player can be configured for each class and some additional categories such as items, racials and misc.

Avoiding Spells
PVPWarn can also detect when certain spells were resisted, either by the player or by an enemy player.
Self Avoid
The avoid tab allows you to configure warnings for all spells of a certain category. If you're interested in knowing when you resist a certain spell, such as the silence of a shadow priest, you configure this in the priest category.

Enemy Avoid
To configure the resist warning for your own class, use the Enemy Avoid navigation point. This menu contains all spells for your class that can be resisted and are supported by PVPWarn. If you play a different class, the content of that menu will differ.

Profiles
PVPWarn loads a default profile based on your class when the addon loads for the first time. The default profile can be loaded again at any point. If you start modifying which spells are tracked, however, you can create a new profile, or even keep multiple different profiles that you can load depending on your situation.
Loading Profiles with Macros
Once a profile is created, it can be loaded manually or with a macro.
/run _G["RGPVPW_MACRO_LOADPROFILE"]("[profileName")
Example:
/run _G["RGPVPW_MACRO_LOADPROFILE"]("Warriorprofile")
Combat State
PVPWarn can track a target's combat state and will display it next to the target frame. The combat icon can be moved to another place if required.

Stance State
PVPWarn can track a target's stance state and will display it next to the target frame. The stance icon can be moved to another place if required. Tracking the stance is limited to certain classes and is only possible if PVPWarn was able to observe the stance in the combat log.

If PVPWarn is unable to determine the stance it will display a question mark for an icon.
Enable/Disable Addon in Zones
The addon can be configured to automatically enable or disable itself in certain zones. This might be useful in zones such as Alterac Valley, where a lot of events are generated.

FAQ
I get a red error (Lua Error) on my screen. What is this?
This is what we call a Lua error, and it usually happens because of an oversight or mistake by the developer (in this case, me). Take a screenshot of the error and create a GitHub issue with it, and I will see if I can resolve it. It also helps if you can add any additional information about what you were doing at the time and which other addons you have active. Additionally, if you are able to reproduce the error, make sure to check whether it still happens when you disable all other addons.
PVPWarn did not warn me about a certain spell. Why?
This can have multiple causes. It might be an actual bug where the addon did not recognize the spell. Before creating a ticket, however, please make sure to check that the spell is actually configured to show a visual or acoustic warning.
PVPWarn does not support my Spell. What can I do?
PVPWarn is not complete, and certain spells might have simply been forgotten. If there is a spell that you would like to see supported in a future version of the addon, make sure to create a ticket for it, and I will have a look at it.
PVPWarn shows me a question mark instead of the stance of the player
This is a limitation of the WoW API. Stances can only be observed when a warrior is switching from one stance to another. It is not possible to query the current stance directly. PVPWarn will, however, display the stance as soon as it is able to observe it.








