Description
# MurderPets
A Tamagotchi-style companion pet addon for World of Warcraft 12.0 (Midnight) that feeds on your kills!
## What It Does
MurderPets displays a cute pet on your screen that reacts to your gameplay. The more enemies you kill, the happier your pet becomes! But be careful - if you stop killing or go idle, your pet's happiness will fade.
## Features
- **Kill Tracking** - Tracks both PvP (Honorable Kills) and PvE (Creature Kills)
- **Dynamic Happiness States** - Pet appearance changes based on your kill count
- **Sleep System** - Pet falls asleep if you're idle for too long
- **Death Sync** - When you die, your pet dies too (and loses all kills on respawn)
- **Customizable** - Resizable, movable, and lockable position
- **Lightweight** - Uses polling instead of protected events for 12.0 compatibility
## Happiness States
| Kills | State | Description |
|-------|-------|-------------|
| Player Dead | Dead | Pet dies with you |
| 3 min idle | Sleeping | Pet falls asleep, kills reset to 0 |
| 0-4 | Sad | Pet needs more kills! |
| 5-9 | Neutral | Pet is content |
| 10-14 | Happy | Pet is enjoying the carnage |
| 15-19 | Excited | Pet is thrilled! |
| 20+ | In Love | Pet adores you! |
## How It Works
1. **Kill Detection** - The addon polls WoW's Statistics API every 0.5 seconds to detect new kills
2. **Combat Feeding** - Kills are collected during combat and fed to your pet when combat ends
3. **Idle Detection** - Checks player position to detect movement; 3 minutes of no movement triggers sleep
4. **Death Detection** - Polls player death state; respawning resets kills to 0
## Slash Commands
| Command | Description |
|---------|-------------|
| `/mp` | Show all commands |
| `/mp show` | Show the pet |
| `/mp hide` | Hide the pet |
| `/mp toggle` | Toggle pet visibility |
| `/mp lock` | Lock pet position |
| `/mp unlock` | Unlock pet position (drag to move) |
| `/mp text` | Toggle kill count text display |
| `/mp reset` | Reset kills to 0 |
| `/mp status` | Show debug information |
| `/mp size <0.5-3.0>` | Resize the pet (e.g., `/mp size 1.5`) |
## Installation
1. Download the MurderPets folder
2. Place it in your WoW AddOns directory:
- Retail: `World of Warcraft\_retail_\Interface\AddOns\`
- PTR: `World of Warcraft\_ptr_\Interface\AddOns\`
## Textures
The addon includes 7 pet textures in TGA format:
- `pet_dead.tga` - Dead state
- `pet_sleeping.tga` - Sleeping state
- `pet_sad.tga` - 0-4 kills
- `pet_neutral.tga` - 5-9 kills
- `pet_happy.tga` - 10-14 kills
- `pet_excited.tga` - 15-19 kills
- `pet_love.tga` - 20+ kills
You can replace these with your own 64x64 TGA images to customize your pet!
## Technical Notes
- **WoW 12.0 Compatible** - Avoids protected `RegisterEvent()` calls that cause errors in Midnight
- **SavedVariables** - Settings are saved per-character in `MurderPetsCharDB`
- **No Dependencies** - Standalone addon with no library requirements
## License
Free to use and modify. Enjoy your murder pet!




