Aventuristo Member Apr 12, 2023 #1 Just a question out of curiosity, not a complaint: When and why did item_drops() and item_drops_array() change to return float data instead of int?
Just a question out of curiosity, not a complaint: When and why did item_drops() and item_drops_array() change to return float data instead of int?
Veracity Developer Staff member Apr 12, 2023 #2 In r27305, to account for actual fractional drop rates. For example, the rare items in the speakeasy have a drop rate of 0.2%.
In r27305, to account for actual fractional drop rates. For example, the rare items in the speakeasy have a drop rate of 0.2%.
R Ryo_Sangnoir Developer Staff member Apr 12, 2023 #3 To be even more specific: above 1%, item drops are integers. Below 1%, they can be fractional. Most sub-1% drops have a conditional that means they only drop in a fraction of combats, in addition to an integer drop rate. Dreadsylvanian drops are "true" 0.1% drops, which can drop in any combat but have a very low base rate.
To be even more specific: above 1%, item drops are integers. Below 1%, they can be fractional. Most sub-1% drops have a conditional that means they only drop in a fraction of combats, in addition to an integer drop rate. Dreadsylvanian drops are "true" 0.1% drops, which can drop in any combat but have a very low base rate.