> For the complete documentation index, see [llms.txt](https://gyzer.gitbook.io/legendarydailyquests-english/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gyzer.gitbook.io/legendarydailyquests-english/quest-configuration/quest-rarity-v-1.0.7-update.md).

# Quest Rarity (V- 1.0.7 Update)

This function is used to control the refresh rate and amount of specified rare quests.

{% hint style="info" %}
If a quest is not set to rarity, it defaults to the rarity with the **highest** weight (referring to the file below, the rarity with the highest weight is `common`, so if the quest is not set to rarity, it defaults to `common`)
{% endhint %}

```
#ID
#Can continue to add downwards according to format
common:
  display: '&7普通任务'
  #Weight ratio, lower priority
  weight: 3
  #The probability of randomly reaching this rarity
  chance: 100
  #Whether to send a full server broadcast when players accept quest of this rarity can be modified in the language file
  broad-when-accept: false
  #The maximum number of occurrences of this rarity -1 is unlimited
  max: -1
rare:
  display: '&e困难任务'
  weight: 2
  chance: 25
  broad-when-accept: false
  max: 3
epic:
  display: '&6地狱级任务'
  weight: 1
  chance: 5
  broad-when-accept: true
  max: 1
```
