๐ŸŒฏQuest Rarity (V- 1.0.7 Update)

In Rarities.yml

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

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)

#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

Last updated