> For the complete documentation index, see [llms.txt](https://pixyieldnft.gitbook.io/constitution-of-the-pixyield-kingdom/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pixyieldnft.gitbook.io/constitution-of-the-pixyield-kingdom/the-pixyield-lion-arenas/the-train-command.md).

# The /train Command

The **`/train`** command provides an engaging way to boost your Lions’ experience, helping them level up and unlock new potential. This feature offers fun mini-games and meaningful progress, making it an essential tool for enhancing your Lions' abilities.

***

#### 🛠️ **Command Overview**

**Command:** `/train`\
**Description:** Start a training session with one of your Lions to gain experience points (XP) and level up.\
**Cooldown:** 24 hours per user.\
**Usage:** Type `/train` to initiate a session.

***

#### 🦁 **The Training Process**

Training consists of **three distinct stages**, each offering a fun and interactive mini-game:

1. **🏃 Stage 1: Endurance – Running**\
   Your Lion must complete a lap around the training field.
   * **Minigame:** Tap the "Run!" button 10 times to finish.
2. **💪 Stage 2: Strength – Lifting**\
   Your Lion trains its strength with weights.
   * **Minigame:** Follow the correct sequence of actions (e.g., "Push," "Pull," "Lift").
   * Completing the sequence successfully advances your Lion to the next stage.
3. **🧘 Stage 3: Mental – Meditation**\
   Your Lion focuses its mind through a quiz.
   * **Minigame:** Answer a **general knowledge question**.
   * Answers that are either **correct** or have at least 50% similarity to the correct answer (e.g., via typo-tolerance) complete the stage.

***

#### 🌟 **XP Rewards and Leveling Up**

At the end of training:

* Your Lion earns **10–50 XP**, depending on its performance.
* **Leveling Up:** XP contributes to leveling up your Lion. Each level requires progressively more XP.
* Upon leveling up:
  * Gain **stat points** to allocate to Health, Mana, Armor, Attack, or Defense.
  * Stats allocation occurs through an interactive menu sent directly to your Discord DMs.

***

#### 🎮 **Interactive Minigames**

Each stage includes a unique activity:

* **Run Minigame:** Test your endurance by tapping the "Run!" button 10 times.
* **Lift Minigame:** Follow a randomly generated sequence of actions like "Push," "Pull," and "Lift."
* **Meditate Minigame:** Answer a general knowledge quiz question.

Successful completion of all three stages marks the training session as complete.

***

#### ⏳ **Command Cooldown**

The **`/train`** command has a 24-hour cooldown per user.

* If you attempt to train again before the cooldown expires, a message will display the remaining time (e.g., "3h 15m 20s").

This ensures fairness and encourages daily participation.

***

#### 📈 **Stat Allocation Upon Leveling Up**

When a Lion levels up, the **Leveling System** assigns stat points:

1. **Stat Points Earned:** 5 points per level gained.
2. **Stat Allocation Process:**
   * You receive a DM with a breakdown of your Lion's current stats.
   * Allocate points to Health, Mana, Armor, Attack, or Defense using an interactive menu.
   * Changes are saved automatically once confirmed.
3. **Reset Option:** If you wish to adjust your allocation before confirming, use the "Reset" button to redistribute your points.

***

#### 📋 **Choosing Your Lion for Training**

When starting the `/train` command:

* A **dropdown menu** lists all eligible Lions from your collection.
* Each Lion’s stats (Level, Health, Armor, Attack, Defense) are displayed to help you choose wisely.
* Use pagination to navigate through your collection if you own multiple Lions.

***

#### 🏆 **The Importance of Training**

Training is more than just a daily activity:

* **Consistent Growth:** Regular training ensures your Lions are always improving.
* **Prepare for Challenges:** Stronger Lions perform better in battles, missions, and arena matches.
* **Community Engagement:** Training adds depth to your gameplay experience and connects you with other players.

***

Your journey in the **PixYield Kingdom** begins with dedicated training. Strengthen your Lions, level up, and rise to greatness! 🌟🐾
