[DiscordArchive] How is the roll/rand_chance determined? I’m assuming that if you roll a number greater than 70 you g
[DiscordArchive] How is the roll/rand_chance determined? I’m assuming that if you roll a number greater than 70 you g
Archived author: Voidnt • Posted: 2023-05-06T10:36:46.687000+00:00
Original source
Is this how the roll numbers for the previous part and rolled?
Archived author: Anchy • Posted: 2023-05-06T10:37:12.993000+00:00
Original source
rand_norm will generate a random number between 0-1, its a normalized number
Archived author: Anchy • Posted: 2023-05-06T10:37:34.509000+00:00
Original source
if I recall this part controls the rarity of the enchant for the item quality
Archived author: Anchy • Posted: 2023-05-06T10:39:17.782000+00:00
Original source
so for example, if you have a white item it will generate a number between 0-1 and multiply it by 50
Archived author: Anchy • Posted: 2023-05-06T10:39:36.132000+00:00
Original source
if i generated 0.5 * 50 then it would equal to 25, that is a tier 1 roll
Archived author: Anchy • Posted: 2023-05-06T10:40:10.116000+00:00
Original source
but if I rolled 0.9 * 50 = 45, it would be a tier 2 roll
Archived author: Voidnt • Posted: 2023-05-06T10:41:31.889000+00:00
Original source
Awesome! This makes a lot more sense now!
Archived author: Voidnt • Posted: 2023-05-06T10:42:16.825000+00:00
Original source
I was going to keep building and changing the numbers until I figured it out haha
Archived author: Anchy • Posted: 2023-05-06T10:43:28.899000+00:00
Original source
lol
Archived author: Voidnt • Posted: 2023-05-06T10:44:40.808000+00:00
Original source
I really appreciate the info and your time!