Skip to content

Price Correction for Re-Croc Potted Items - #326

Open
FinnHornhoover wants to merge 4 commits into
OpenFusionProject:masterfrom
FinnHornhoover:croc-pot-price-correction
Open

FinnHornhoover wants to merge 4 commits into
OpenFusionProject:masterfrom
FinnHornhoover:croc-pot-price-correction

Conversation

@FinnHornhoover

Copy link
Copy Markdown
Contributor

Before this PR, croc potted items' buy price would effectively be the stats items used for their croc pot. This PR changes that to be their style item, i.e. how it looks determines its buy price. This allows the client and server to always agree on the correct, deducted price when re-croc potting items, even if they have been croc potted before.

A known issue remains: re-croc potted items will appear to also use their levels and rarity from the style item while the client calculates the success odds. This is incorrect behavior on the client's part, i.e. level and rarity, much like armor and offense numbers, should come from the stats item. We can't meaningfully fix the displayed chance in this edge case, and server already behaves correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant