Explain to me about the rarity settings (Aphoteosis MC 1.16.5)
JotaLQ opened this issue ยท 1 comments
Explain more clearly what this part of deadly.cfg does. I have configured it wrong because I always get ancient.
Default configuration:
rarity {
# The threshold for this rarity. The percentage chance of this rarity appearing is equal to (previous threshold - this threshold) / 10. [range: 0 ~ 1000, default: 400]
I:common=400
# The threshold for this rarity. The percentage chance of this rarity appearing is equal to (previous threshold - this threshold) / 10. [range: 0 ~ 1000, default: 950]
I:epic=950
# The threshold for this rarity. The percentage chance of this rarity appearing is equal to (previous threshold - this threshold) / 10. [range: 0 ~ 1000, default: 1000]
I:mythic=1000
# The threshold for this rarity. The percentage chance of this rarity appearing is equal to (previous threshold - this threshold) / 10. [range: 0 ~ 1000, default: 880]
I:rare=880
# The threshold for this rarity. The percentage chance of this rarity appearing is equal to (previous threshold - this threshold) / 10. [range: 0 ~ 1000, default: 700]
I:uncommon=700
}
Modified:
rarity {
# The threshold for this rarity. The percentage chance of this rarity appearing is equal to (previous threshold - this threshold) / 10. [range: 0 ~ 1000, default: 400]
I:common=500
# The threshold for this rarity. The percentage chance of this rarity appearing is equal to (previous threshold - this threshold) / 10. [range: 0 ~ 1000, default: 950]
I:uncommon=300
# The threshold for this rarity. The percentage chance of this rarity appearing is equal to (previous threshold - this threshold) / 10. [range: 0 ~ 1000, default: 1000]
I:rare=150
# The threshold for this rarity. The percentage chance of this rarity appearing is equal to (previous threshold - this threshold) / 10. [range: 0 ~ 1000, default: 880]
I:epic=50
# The threshold for this rarity. The percentage chance of this rarity appearing is equal to (previous threshold - this threshold) / 10. [range: 0 ~ 1000, default: 700]
I:mythic=20
}
Can you explain to me please?
Ah, yes, that thing. That might have been one of the worst systems ever invented, lol. The numbers must be in increasing order, and the delta between the number and the last number is the rarity weight.
i.e. if common is 400, the chance for common is (400 - 0) / 10 = 40%
Then, if uncommon is 700, the chance for uncommon is (700 - 400) / 10 = 30%
The modified config you have shown is totally invalid, because the number for uncommon (and subsequent options) are all lower than the previous numbers.