# MovableRollFrame
A comprehensive loot roll frame addon for World of Warcraft Classic TBC Anniversary Edition that consolidates all Need/Greed/Pass rolls into a single, customizable, movable frame.
## Features
Updated: CTRL+scroll anywhere on the tooltip to resize.
Also, added an "Automatic Resolution Scaler" so the tooltip renders according to your current resolution.
### Core Functionality
- **Unified Loot Frame**: All active loot rolls are consolidated into a single, elegant frame
- **Automatic Expansion**: Frame automatically grows and shrinks based on the number of active loot rolls
- **Fully Movable**: Click and drag anywhere on the frame to reposition it
- **Horizontally Resizable**: Gold-highlighted resize grip on the right edge for easy width adjustment
- **Real-Time Scaling**: Items, fonts, icons, and buttons scale smoothly as you resize
### Visual Design
- **Gold-Bordered Frame**: Professional gold frame with "Player's Loot Rolls" header
- **Class-Colored Name**: Your character name displays in your class color
- **Quality-Colored Items**: Item names show in their proper quality colors (Legendary, Epic, Rare, Uncommon, Green)
- **Item Icons**: Full icon display for all loot items
- **Progress Bars**: Green countdown timer bar at the bottom of each item
- **Proper Spacing**: Clean, professional layout with optimal padding between elements
### Interactive Elements
- **Need/Greed/Pass Buttons**: Default Blizzard-style buttons with tooltips
- **Item Tooltips**: Hover over any item to see its full tooltip with stats
- **Button Tooltips**: Hover over Need/Greed/Pass buttons to see labels
- **Random Roll (1-100)**: Built-in dice roll button in the top-right corner with bright cyan text
### Smart Behavior
- **Top-Anchored**: Frame stays anchored at the top - items disappear from bottom to top
- **Persistent Settings**: Position and size are saved between sessions
- **Auto-Hide**: Frame automatically hides when no loot rolls are active
- **Test Mode**: Use `/mrf test [n]` to preview the frame with up to 20 test items
## Installation
1. Download the addon
2. Extract the `MovableRollFrame` folder to your `World of Warcraft/_classic_/Interface/AddOns/` directory
3. Restart WoW or reload UI (`/reload`)
4. The addon loads automatically - look for the confirmation message in chat
## Commands
- `/mrf test [n]` - Spawn test loot rolls (1-20 items) for preview
- `/mrf reset` - Reset all saved positions and size to defaults
## Usage
### Moving the Frame
- Click and drag anywhere on the frame to move it
- Position is automatically saved when you release
### Resizing the Frame
- Hover over the right edge to see the gold resize grip
- Click and drag the gold bar to adjust width
- All elements scale proportionally in real-time
- Minimum width: 360 pixels
- Maximum width: 700 pixels
### Rolling on Items
- Click **Need** (dice icon) to roll Need
- Click **Greed** (coin icon) to roll Greed
- Click **Pass** (red X icon) to pass on the item
- Items disappear from the frame after you roll
### Random Rolling
- Click the **"1-100 Roll"** button in the top-right to perform a random roll
- Useful for loot distribution, games, or breaking ties
### Tooltips
- Hover over any item name or icon to see the full item tooltip
- Hover over Need/Greed/Pass buttons to see their labels
## Technical Details
- **Compatible with**: WoW Classic TBC Anniversary Edition
- **SavedVariables**: Position, size, and settings persist across sessions
- **Performance**: Lightweight, minimal memory footprint
- **No Dependencies**: Standalone addon, no libraries required
## Customization
The frame automatically adjusts to show:
- 1 item: Compact single-item display
- 2-5 items: Small to medium frame
- 6-10 items: Medium frame
- 11-20 items: Large frame for busy raids
## Tips
- **Placement**: Position the frame where it won't obstruct important UI elements
- **Size**: Adjust width to fit your screen resolution and preference
- **Testing**: Use `/mrf test 10` to see how the frame looks with multiple items
- **Reset**: If the frame gets positioned off-screen, use `/mrf reset`
## Troubleshooting
**Frame not appearing?**
- Make sure you're in a group when loot drops
- Use `/mrf test` to verify the addon is working
- Check that the addon is enabled in the AddOns menu
**Frame jumping around?**
- This was fixed in the latest version
- If issues persist, use `/mrf reset` and reposition
**Buttons not working?**
- The test mode buttons will hide items but won't actually roll
- In real gameplay, buttons will perform actual Need/Greed/Pass rolls
## Credits
Created for the WoW Classic TBC Anniversary Edition community.
Special thanks to all testers and users who provided feedback during development.
## Support
For bug reports, feature requests, or questions, please visit the addon page on CurseForge.
## Version History
### Version 1.1.2
- Initial release
- Unified loot roll frame
- Movable and resizable interface
- Class-colored player names
- Real-time scaling
- Random roll button
- Test mode with 20 sample items
- Item and button tooltips
- Top-anchored frame behavior
## License
This addon is released for use by the World of Warcraft community.