# ✨ MyMagic
A lightweight, extensible magic system for **Luanti**.
Part of the **"My" Mod Suite**.

MyMagic adds a layer of mystical progression to the game without the bloat. It features a streamlined mana system, customizable spells, and high-performance particle effects.

---

## ✨ Features
* **Mana Core:** A responsive mana bar that integrates with the player HUD.
* **Spell Casting:** Unique spells ranging from utility (teleportation/light) to combat.
* **Scroll System:** Discover and learn spells through ancient scrolls.
* **Optimized FX:** Uses Luanti’s particle spawners efficiently to ensure no frame-drops during combat.
* **Lucky Block Support:** Random magical surges or "mana burnout" events.

---

## 🛠️ Installation
1. Place the `mymagic` folder into your `mods/` directory.
2. Enable it in your world configuration.
3. (Optional) Install `hudbars` for enhanced mana visualization.

---

## ⚙️ Configuration
| Setting | Default | Description |
| :--- | :--- | :--- |
| `mymagic_max_mana` | 100 | The base mana capacity for players. |
| `mymagic_regen_speed` | 1.0 | How fast mana restores per second. |
| `mymagic_particle_level` | 2 | Adjusts visual intensity (1-3). |

---

## 📜 License
MIT
