---
description: >-
  Welcome to Fumo Battles, where your enchanted companions clash for honor, Fumo
  Points (FP), and bragging rights!
---

# ⚔️ Fumo Battles

#### 🎯 1. Getting Started

* **Join the Queue**\
  `/battle join`\
  Pay **100 FP** to enter the global matchmaking queue. If we cannot find a suitably matched opponent within **120 seconds**, you’ll be automatically removed and your 100 FP will be refunded.
* **Duel a Friend**\
  `/battle duel @User [fee]`\
  Challenge someone directly. You both must agree within **60 seconds,** or the duel will cancel, and the fee is returned.

***

#### 🧮 2. How It Works

**2.1 Stat Calculations**

Every Fumo’s combat prowess depends on three factors:

1. **Level** (1–55)
2. **Prestige** (resets level + big bonuses)
3. **Rarity** (Common → Exclusive)

```
HP = 50 + (Level×20) + (Prestige×250) + RarityHPBonus
Attack Range = [
  10 + (Level×5) + (Prestige×200) + RarityDmgBonus,
  20 + (Level×5) + (Prestige×200) + RarityDmgBonus
]
Defense% = min(85,
  Level + (Prestige×5) + RarityDefBonus
)
```

* **Rarity Bonuses**
  * HP: Common +0, Uncommon +20, Rare +50, Ultra Rare +100
  * Damage: Common +0, Uncommon +10, Rare +15, Ultra Rare +20
  * Defense: Common +0, Uncommon +5, Rare +10, Ultra Rare +15
  * Exclusive and Ultra Rare got the same bonuses

**2.2 Battle Flow**

1. **Round Start**: Both Fumos randomly **attack** or **defend**.
2. **Attack**: Roll damage within your attack range.
3. **Defend**: Reduce incoming damage by your defense percentage.
4. **HP Update**: Subtract damage; show results in an embed with round history.
5. **Repeat** until one Fumo falls (HP ≤ 0).

***

#### 💻 3. Available Commands

* `/battle join` — Enter the global queue (100 FP)
* `/battle leave` — Exit queue & refund fee
* `/battle status` — Show your queue position
* `/battle duel @User [fee]` — Send a direct duel challenge
* `/battle stats` — View your total wins & losses
* `/battle specs` — Inspect your equipped Fumo’s HP, damage, defense

***

#### ⏳ 4. Timeouts & Refunds

* **Queue Timeout (120 s)**\
  If still unmatched after 2 minutes, you’re removed and your 100 FP is refunded automatically.
* **Confirmation Timeout (60 s)**\
  Both players must click **Confirm** within 60 s on a duel or queue match, otherwise it cancels and all entry fees are returned.

***

#### 🎁 5. Rewards & Progress

* **Winner**\
  +100 FP (double entry fee) and a recorded win.
* **Loser**\
  Loss of entry fee and a recorded loss.

Track your progress with `/battle stats`!

***

#### 💡 6. Tips & FAQs

> **Q:** I attacked but dealt less damage than my range. Why?\
> **A:** If your opponent defended that round, your raw damage is reduced by their defense%.

> **Q:** Can I set my own fee?\
> **A:** Only with `/battle duel`. Queue battles always cost 100 FP.

> **Q:** How does matching work?\
> **A:** We compare “effective level” = (Prestige×55 + Level). Opponents must be within a 5‑point range.

***

_Ready your Fumo and step into the arena—glory awaits in Gensokyo!_ 🌟
