> For the complete documentation index, see [llms.txt](https://changelog.matrixemulator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.matrixemulator.com/welcome/server/muserver/data/quest/questreward.md).

# QuestReward

<mark style="color:green;">Defines what the player receives after completing a quest—stat points, items, class change unlocks, Hero status, or combo skill unlocks.</mark>

<table data-search="false"><thead><tr><th>Column</th><th>Accepted Values</th><th>Description</th></tr></thead><tbody><tr><td>Number</td><td>Number</td><td>Position of this reward within the quest (a quest may grant multiple rewards at the same time).</td></tr><tr><td>Type</td><td><code>1</code>, <code>2</code>, <code>4</code>, <code>8</code>, or <code>16</code></td><td>Reward type: <code>1</code> = stat points. <code>2</code> = unlocks the first class change. <code>4</code> = Hero status. <code>8</code> = unlocks combo skill. <code>16</code> = unlocks the second class change.</td></tr><tr><td>Index</td><td>Item number</td><td>Item code given when the reward is an item.</td></tr><tr><td>Quantity</td><td>Number</td><td>Amount of stat points granted (<code>Type 1</code>) or item quantity.</td></tr><tr><td>Level</td><td>Number</td><td>Level of the awarded item.</td></tr><tr><td>Option1 / Option2 / Option3</td><td>Number</td><td>Options of the awarded item.</td></tr><tr><td>NewOption</td><td>Number</td><td>Excellent option of the awarded item.</td></tr><tr><td>RequireIndex</td><td>Quest number (<code>Index</code> from <code>Quest.txt</code>)</td><td>Specifies which quest this reward belongs to.</td></tr><tr><td>RequireState</td><td><code>0</code>, <code>1</code>, <code>2</code>, or <code>3</code></td><td>The quest state (<code>RequireIndex</code>) in which this reward is granted—normally <code>2</code> (Completed).</td></tr><tr><td>DW / DK / FE / MG / DL / SU / RF</td><td><code>0</code>, <code>1</code>, or <code>2</code></td><td><code>0</code> = this class does not receive this reward. <code>1</code> = available from the first evolution. <code>2</code> = available only from the second evolution onward.</td></tr></tbody></table>

### <mark style="color:yellow;">Notes</mark>

* `RequireIndex`/`RequireState` here **do not represent a prerequisite for another quest**—they point to the quest and state that this reward belongs to (same logic as `QuestObjective.txt`, different from `Quest.txt`).
* A quest can have multiple reward rows for the same state—all of them are granted together.
