• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

item cyclopedia rarity

Comunista

New Member
Joined
May 19, 2024
Messages
3
Reaction score
0
Does anyone know where I can find the function that says the rarity of the items that the monster drops... in the version of canary that I have, it doesn't sample rare items... from semi-rare, it goes straight to very rare even with everything correct in monster loot.

sorry my english
 

Attachments

  • imagem_2024-06-22_094307797.png
    imagem_2024-06-22_094307797.png
    486.2 KB · Views: 44 · VirusTotal
1719107508554.png
it doesn't work, it's as if it didn't exist... I wanted to know where the folder that controls this is so I can change or add it.
Post automatically merged:

1719121092770.png
rare does not appear
 
Last edited:
I managed to solve... the problem is that after the calculation it always returned an integer... and for very low values, decimal places are necessary... so I just had to convert it to float

1719226432076.png
 
I managed to solve... the problem is that after the calculation it always returned an integer... and for very low values, decimal places are necessary... so I just had to convert it to float

View attachment 85661
Good job, you can add your commit to the Canary branch:
 
Back
Top