# Guild Flags

Guild Flags are interactive banners placed throughout towns and inside guild castles that display detailed information about the castle's current ruler and their reign statistics.

## Flag Locations

* **Town Flags** - Located in major cities (e.g., Prontera) showing castle ownership
* **Castle Entrance Flags** - Outside each guild castle entrance
* **Interior Flags** - Inside the castle displaying the ruling guild's emblem

## Information Displayed

When you click on a Guild Flag for an owned castle, you'll see:

### Guild Information

| Stat             | Description                            |
| ---------------- | -------------------------------------- |
| **Castle Name**  | The name of the guild castle           |
| **Ruled By**     | The guild currently holding the castle |
| **Guild Master** | The leader of the ruling guild         |
| **Founded**      | When the guild was created             |

### Reign Statistics

| Stat               | Description                                                |
| ------------------ | ---------------------------------------------------------- |
| **Captured**       | Date when the current guild captured this castle           |
| **Times Defended** | Number of WoE sessions the guild has successfully defended |

### Battle Record

| Stat                 | Description                                            |
| -------------------- | ------------------------------------------------------ |
| **Enemies Slain**    | Total enemies killed by the defending guild during WoE |
| **Fallen Defenders** | Defending guild members who died during WoE            |

### Castle Strength

| Stat        | Description                             |
| ----------- | --------------------------------------- |
| **Members** | Current guild member count / maximum    |
| **Economy** | Castle economy investment level (0-100) |
| **Defense** | Castle defense investment level (0-100) |

## How Statistics Work

### On Castle Capture

When a new guild captures a castle:

* **Captured Date** is set to the current time
* **Times Defended** resets to 0
* **Enemies Slain** resets to 0
* **Fallen Defenders** resets to 0

### During WoE

Statistics track guild vs guild combat only:

* **Enemies Slain** increases when a defending guild member kills an enemy guild member
* **Fallen Defenders** increases when a defending guild member is killed by an enemy
* Friendly fire and guildless players are not counted
* Only combat involving the defending guild is tracked

### At WoE End

* **Times Defended** increases by 1 for all guilds that still own their castle

## Guild Members Only

If you are a member of the ruling guild, clicking the flag gives you the option to **Enter Castle** directly, teleporting you inside.

## Unowned Castles

Flags for castles without an owner display:

> *"This castle awaits a ruler. Break the Emperium to claim this fortress."*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://info.xilero.net/mechanics/guild-flags.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
