PetAlert
========

PetAlert is a lightweight combat alert addon that warns you when your
important combat pet is missing, in danger, or incorrectly configured.

The addon displays large, clear alerts in the center of your screen
during combat to ensure you never forget your pet or misuse it.

Three types of alerts are available:

• Missing Pet Alert (red)
• Low HP Alert (gold)
• Passive Mode Alert (blue)


Supported Classes
-----------------

Warlock (Demonology)
Requires: Felguard

Death Knight (Unholy)
Requires: Ghoul

Hunter
Requires: active pet
Exception: Marksmanship specialization (no pet required)

Mage (Frost)
Requires: Water Elemental


Alert Behavior
--------------

Missing Pet Alert:

The alert appears if:

• you enter combat without your required pet
• your pet dies
• your pet is dismissed
• you have the wrong pet summoned (for Warlock/DK)
• you switch to a monitored specialization without the pet active

The alert disappears immediately when the correct pet is alive and active.


Low HP Alert:

• appears when your pet drops below a configurable HP threshold (default: 25%)
• only active during combat
• only triggers if the correct pet is already active
• disappears automatically when your pet recovers HP


Passive Mode Alert:

• appears when your pet is set to Passive mode during combat
• only active if the correct pet is summoned
• helps prevent DPS loss or missed actions due to an inactive pet
• disappears instantly when switching out of Passive mode


Mounted Behavior:

• no alert is shown while you are mounted


Configuration
-------------

PetAlert includes a full configuration panel available in:

Game Menu → Options → AddOns → PetAlert

You can configure:

• Enable / disable Missing Pet alert
• Enable / disable Low HP alert
• Enable / disable Passive Mode alert
• Adjust Low HP threshold (1% → 99%)
• Adjust icon size independently for all alerts
• Move / Lock / Reset each alert independently
• Preview all alerts in real time


Slash Commands
--------------

Missing pet alert:

/pa move
/pa lock
/pa reset
/pa X Y


Low HP alert:

/pa hpmove
/pa hplock
/pa hpreset
/pa hp on
/pa hp off
/pa hp 25
/pa hp X Y


Passive mode alert:

/pa passivemove
/pa passivelock
/pa passivereset
/pa passive on
/pa passive off
/pa passive X Y


Examples
--------

/pa 0 200
Move the main alert higher on the screen.

/pa hp 30
Set Low HP alert to trigger at 30%.

/pa passive -200 0
Move the passive alert to the left.


Performance
-----------

PetAlert is designed to be extremely lightweight:

• no combat log usage
• no heavy scanning
• no unnecessary background processing
• optimized for combat-only updates
• compatible with modern WoW API behavior


Author
------

Kowkow


Version
-------

2.1.3