> For the complete documentation index, see [llms.txt](https://simple.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://simple.superiormc.cn/mythicrewards/reward-rules/reward-rule-example-separate-pack.md).

# 📚Reward Rule Example - Separate Pack

## Config

```yaml
match-entity:
  mythicmobs:
    - 'Example'

# Means 5 minutes, 20 ticks = 1 second
time-out-ticks: 6000

general-actions:
  1:
    type: message
    messages:
      - '&#FFEE00======================='
      - '&#FF5555⚔ &l{entity-name} &r&#FF4444has been defeated! ⚔'
      - '&#00FFAA✨TOP DAMAGE DEALERS✨'
      - '@1 &#FF4500🥇 &lFirst: &#FF69B4{player_1} &#FFFFFF(&#32CD32{damage_1}&#FFFFFF | &#1E90FF{percentage_1}%&#FFFFFF)'
      - '@2 &#1E90FF🥈 &lSecond: &#00FFFF{player_2} &#FFFFFF(&#32CD32{damage_2}&#FFFFFF | &#FF69B4{percentage_2}%&#FFFFFF)'
      - '@3 &#32CD32🥉 &lThird: &#FFD700{player_3} &#FFFFFF(&#32CD32{damage_3}&#FFFFFF | &#FF4500{percentage_3}%&#FFFFFF)'
      - '&#FFAA00✨Your Rank: &#FF00FF {rank} &#FFFFFF(&#32CD32{damage}/{total-damage}&#FFFFFF | &#1E90FF{percentage}%&#FFFFFF)'
      - '&#FFEE00======================='

pack-actions:
  1:
    amount: 1
    1:
      type: message
      message: TEST1-1
    2:
      type: message
      message: TEST1-2
  2:
    amount: 1
    1:
      type: message
      message: TEST2-1
    2:
      type: message
      message: TEST2-2
  3:
    amount: 1
    1:
      type: message
      message: TEST3-1
    2:
      type: message
      message: TEST3-2
  4:
    amount: 1
    1:
      type: message
      message: TEST4-1
    2:
      type: message
      message: TEST4-2
  5:
    amount: 1
    1:
      type: message
      message: TEST5-1
    2:
      type: message
      message: TEST5-2
  6:
    amount: 1
    1:
      type: message
      message: TEST6-1
    2:
      type: message
      message: TEST6-2
```

In this example, the rewards are divided into 6 groups, and the allocation of these 6 groups of rewards is completely independent. Players may receive reward A but not reward B. All players who cause damage may receive rewards, and the probability depends entirely on the percentage of damage they cause.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://simple.superiormc.cn/mythicrewards/reward-rules/reward-rule-example-separate-pack.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
