fonsleenaars / tqdb

Python parser for the Titan Quest Anniversary Edition, Ragnarok, Atlantis, Eternal Ember DLC database.
https://tq-db.net
MIT License
51 stars 15 forks source link

About the chance of ONE item #21

Closed gx16377 closed 6 years ago

gx16377 commented 6 years ago

"For chest loot, the chance listed is the chance of any ONE item that falls out" How about multiply that by (numSpawnMaxEquation + numSpawnMinEquation)/2 ? (In FixedItemLoot dbrs and let numberOfPlayers=1)

fonsleenaars commented 6 years ago

Average it out huh? Not a bad idea, I had something else in mind when I decided against using the equation (adding config on the website to set your character(s) level and have the loot table respond to whatever your input), but your solution will be quicker to implement and work well enough for now.

gx16377 commented 6 years ago

At least I can compare it to the equiped chance in this way :)