PetAlert
========

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

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

Two types of alerts are available:

• Missing Pet Alert (red)
• Low HP Alert (gold)


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


Configuration (NEW)
-------------------

PetAlert now 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
• Adjust Low HP threshold (1% → 99%)
• Adjust icon size independently for both alerts
• Move / Lock / Reset both alerts directly from the UI
• Preview both alerts in real time


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

/pa move
Enable drag mode to reposition the missing pet alert.

/pa lock
Lock the missing pet alert.

/pa reset
Reset the missing pet alert position to the center of the screen.

/pa X Y
Manually set the missing pet alert offset from the screen center.


Low HP alert commands:

/pa hpmove
Move the Low HP alert.

/pa hplock
Lock the Low HP alert.

/pa hpreset
Reset the Low HP alert position.

/pa hp on
Enable Low HP alert.

/pa hp off
Disable Low HP alert.

/pa hp 25
Set Low HP threshold.

/pa hp X Y
Set Low HP alert position manually.


Examples
--------

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

/pa -300 0
Move the main alert to the left.

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


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 recent WoW API changes


Author
------

Kowkow


Version
-------

2.1.2