Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loot drops #54

Open
groupsky opened this issue Nov 8, 2017 · 7 comments
Open

Loot drops #54

groupsky opened this issue Nov 8, 2017 · 7 comments
Labels

Comments

@groupsky
Copy link
Contributor

groupsky commented Nov 8, 2017

I found myself more and more extracting loot drops and then manually calculating the expected loot based on setup to better plan runs.

Maybe we can integrate such feature into the CRE tool.

The data can be easily retrieved from HT per mice/location, only the BWRift will be a bummer since mice drop different loot depending on stage and HT doesn't support that. Jack's tools on the other hand don't provide loot per mice, but aggregated per location/stage and affected by catch rate.

I can invest some time to implement it, if @tsitu or @Babalela01 think this is a good addition.

@Mistborn94
Copy link
Contributor

I like the idea, my only concern is complexity - there are a lot of factors affecting loot drops including luck, cr, charms, auras, traps etc. Also keep in mind that HT is not being updated anymore so for newer areas the info there is probably not accurate.

@groupsky
Copy link
Contributor Author

groupsky commented Nov 9, 2017

I like to believe that a solution like population data would be sufficient, but probably will need some quirks as already done in the code to handle different special effects.

Don't want to argue about tools, and no need, whatever can provide the data will suffice. For the moment I am confident I can extract it from HT for most locations.

Finally I think we should focus on primary loots - those that are actually required for progress like rb potions in lab, bricks, timber, ... in mm, etc.


On implementation side I am thinking of creating data files - similar to population ones, with structure:

location stage weapon base charm mouse loot qty

stage, weapon, base and charm would be optional, only need to specify if they affect the loot drop. qty should be the mathematical expected quantity per catch - i.e. chance to drop × drop quantity. There could be multiple lines per mouse when multiple items are dropped.

On the UI side, I think we can add a single column on the CRE tool to display all loots and a total expected loot from 100 hunts at the bottom. Another option is to have separate columns per loot, but that could grow very large in some situations.

This could potentially be used to implement the amplifier, iceberg and laby clues as form of loot - thus removing the need to handle it in code.

The actual algorithm should be straightforward - having the exact setup and mice, get the loots, multiply quantities by catch rate and you get the result.

@tsitu
Copy link
Owner

tsitu commented Nov 10, 2017

Like you said, the algorithm should be fairly straightforward, but dealing with the UI + data + their edge cases probably won't be. I think it would be helpful to mock up the loot column(s), either in a fresh tool page or squeezed in with existing CRE columns. I'm also curious as to how large loot tables (e.g. Retired Minotaur, Ful'Mina, Monstrous Black Widow) are going to look - users are definitely going to want data for those particular mice during events.

@groupsky
Copy link
Contributor Author

groupsky commented Nov 10, 2017

My initial idea was to focus on minions with the simpler list of loots, but I guess at some time we'll have to include those too. Maybe some hybrid approach in the UI - some loots like primary farming loots displayed as separate columns, so you can order and clearly see them, all the rest stuck in a single column as a list.

So a quick mockup here would look like:

Mouse AR CR Catches Gold Points Tourney Min Luck Rank Dragonscales Ful'Mina's Tooth Other Loot
Thundering Watcher 59.43% 88.88% 52.82 18,000 100,000 0 53 Missing 0.54 0 0.39 Mineral
Ful'Mina 34.67% 52.77% 18.29 30,000 120,000 0 255 0.0264% 4.5 0.01 2.92 Mineral, 1.49 Scrap Metal, 0.35 Cavern Fungus, 0.07 Ancient Relic, 0.56 Unstable Charm, 0.87 Pollutinum, 0.16 Ionized Salt, 1.3 Meteorite Piece, 0.26 Living Shard, 0.1 Inferno Havarti, ... and about 50 more loot drops
Dragoon 4.95% 69.43% 3.44 20,000 100,000 0 70 Missing 2.38 0 3.44 Mineral, 0.85 Flowed Orb, 0.67 Simple Orb, 0.47 Flawless Orb, 0.3 Divine Orb
Sums / Averages 99.05% 75.27% 74.55 15,683 78,208 0.00 255 0.0048% 119.01 0.18 85.84 Mineral, ... and all the other 50+ items
ThisIsAVeryLongTextToMakeThisColumnWiderAndSeeBetterTheEndResult

@groupsky
Copy link
Contributor Author

First attempt at displaying the loot - everything is in a single column.

first-loot-draft

@tsitu
Copy link
Owner

tsitu commented Nov 12, 2017

Looks quite readable! One general purpose column seems sufficient for now. 1-2 primary loots should be shown initially along with an "expand" link for the remaining loots in order to keep row height at a minimum. Thoughts?

@groupsky
Copy link
Contributor Author

I'm keeping a dev version deployed at my fork. So far I'm happy with the data for FC, MoPi and FRift, but still working on the tooling and exact data structure, so things may break from time to time.

@tsitu tsitu added the cre label Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants