View Single Post
Old July 8, 2010, 20:32   #7
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
I don't think you need to experiment. The item generation accesses k_ptr->alloc_prob to do its work. So either the code needs to generate multiple separate item kinds for the multiple A: possibilities or that value needs to change depending on the drop level. I believe that kind numbers are hard coded, and there is no direct way to change things if the ranges overlap, not to mention Tak has been trying to make k_info be const, so I don't see how multiple alloc probs are even possible in the current codebase unless you hardcode multiple kinds with separate alloc_probs. Well, maybe hardcode is not the precisely correct word and multiple entries in k_info.txt would work, but that way leads to things horrible.
PowerDiver is offline   Reply With Quote