# Combat System

In combat, there will be two teams. Each team will use a squad consisting of 03, or up to 05 warriors. Each warrior will be in a horizontal line. Each warrior will default attack the nearest enemy.

### How to combat

Combat in turn. The team with higher total speed score will have the right to take action first. One turn will complete when each player finishes matching the gem and the warrior finishes attacking. Before the turn is completed, the player can activate skill to attack or defend without affecting their turn. In each turn, there can be 1 warrior performing an attack according to how the player arranges the squad or the number of gems activated.&#x20;

### How to play&#x20;

Players move the gem in horizontal or vertical row. An action counts when the player matches at least 3 gems or more.

### Victory/End

When all warriors of one team die, the other team will win.


---

# 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://docs.metarrior.com/game-system/combat/combat-system.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.
