# Combat Phase - End of Combat Step

#### General Rules:

1. The end of combat step will always happen regardless if an attack has dealt damage; if a combat phase was initiated, there will be an end of combat step. In this step, the game will proceed through a series of turn-based actions which comprise the end of combat in the following order:
   1. First, if any abilities are triggered during the damage step, they will be placed onto the Effects Stack.
   2. Second, state-based effects are checked. If any additional abilities are triggered, they are added to the Effects Stack.
   3. Third, attacking and defending objects are removed from combat (they stop being attacking and defending units).
   4. Fourth, any cards in the intent are placed into the graveyard.
2. After the Effects Stack is empty and all players have passed any Opportunity they may have received in succession, the game will return the turn player to the main phase.


---

# 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://rules.gatcg.com/game-mechanics/game-mechanics-turn-order/turn-order-combat-phase/combat-phase-end-of-combat-step.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.
