Description
This addon helps prevent accidental PvP flagging and warns when flagged.
The addon will not function while in instances.
Features
You can toggle features of the addon by using the /hcwarn or /hcw command.
Feature | Description |
---|---|
Player Warning | If you are PvP flagged |
Target Warning | The addon includes a target setting "/hcwarn target" to allow or prevent you from targeting PvP flagged units. The setting is on (allow) by default. If the target setting is on or you are PvP flagged If the target setting is off |
Mouseover support | The mouseover mod included in ShaguTweaks-Mods supports HCWarn. The mod will prevent any /stcast macros from casting on a PvP flagged NPC with the risk of getting flagged when outside instances unless you are PvP flagged. |
Macros to prevent casting on PvP units
If you are not using ShaguTweaks-Mods you can prevent casts on PvP flagged units by using the nopvp condition in Roid-Macros.
/cast [@mouseover nopvp nodead] Heal
You can also use not UnitIsPVP("target") in a macro without addons.
if not UnitIsPVP("target") then CastSpellByName("Heal") end