-
Notifications
You must be signed in to change notification settings - Fork 60
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
MPA Session Calculation #1651
MPA Session Calculation #1651
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay I think I see what's going on here; you're letting the extraValue
be a marginal familiar mpa thing, and you're trickling it down through barfFamiliar and barfOutfit, and then extracting it in session calcs.
Neat!
@@ -160,5 +164,5 @@ export function barfOutfit(spec: OutfitSpec = {}, sim = false): Outfit { | |||
parka: "kachungasaur", | |||
}); | |||
|
|||
return outfit; | |||
return { outfit, extraValue }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't love doing this for barf and nothing else, seems counterintuitive & inconsistent. But I get it
Might be worth exporting two functions, like the freeFightFamiliarData
and freeFightFamiliar
thing?
|
||
return { | ||
familiar: best.familiar, | ||
extraValue: extraValue(best, meatFamiliarEntry, jellyfish), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I need some documentation about what extraValue
means here. extra compared to what?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't love the way we're passing this information around but I can't think of a nicer way; fix the merge conflicts and make it so
* MPA Session Calculation * Attempt to readd marginal familiar extra value tracking * Formatting & Fixes --------- Co-authored-by: neil <[email protected]> Co-authored-by: horrible little slime <[email protected]>
This reverts commit d06c19e.
Had to revert, this is a breaking change because of a circular bit of logic between barfFamiliar and barfOutfit. I don't think we can capture the excess familiar value with that level of precision. |
No description provided.