Skip to content

Commit

Permalink
v0.6.1
Browse files Browse the repository at this point in the history
Fixes: Uniques stat ranges broken again #329
minor oopsy
  • Loading branch information
Kvan7 committed Jan 20, 2025
1 parent 850fa90 commit 32729fe
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ![Perfect Jewelers Orb](./renderer/public/images/jeweler.png) Exiled Exchange 2

![GitHub Downloads (specific asset, latest release)](https://img.shields.io/github/downloads/kvan7/exiled-exchange-2/latest/Exiled-Exchange-2-Setup-0.6.0.exe?style=plastic&link=https%3A%2F%2Ftooomm.github.io%2Fgithub-release-stats%2F%3Fusername%3Dkvan7%26repository%3DExiled-Exchange-2)
![GitHub Downloads (specific asset, latest release)](https://img.shields.io/github/downloads/kvan7/exiled-exchange-2/latest/Exiled-Exchange-2-Setup-0.6.1.exe?style=plastic&link=https%3A%2F%2Ftooomm.github.io%2Fgithub-release-stats%2F%3Fusername%3Dkvan7%26repository%3DExiled-Exchange-2)
![GitHub Tag](https://img.shields.io/github/v/tag/kvan7/exiled-exchange-2?style=plastic&label=latest%20version)
![GitHub commits since latest release (branch)](https://img.shields.io/github/commits-since/kvan7/exiled-exchange-2/latest/dev?style=plastic)

Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineConfig({
},
themeConfig: {
// logo: 'TODO', https://github.com/vuejs/vitepress/issues/1401
appVersion: '0.6.0',
appVersion: '0.6.1',
github: {
releasesUrl: 'https://github.com/Kvan7/Exiled-Exchange-2/releases'
},
Expand Down
6 changes: 3 additions & 3 deletions main/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion main/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "exiled-exchange-2",
"version": "0.6.0",
"version": "0.6.1",
"private": true,
"scripts": {
"dev": "node build/script.mjs",
Expand Down
10 changes: 8 additions & 2 deletions renderer/src/parser/stat-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,10 @@ export function tryParseTranslation(
(implicitTestString in item.info.unique.stats ||
negatedImplicitTestString in item.info.unique.stats)
) {
if (negatedImplicitTestString in item.info.unique.stats) {
if (
negatedImplicitTestString !== implicitTestString &&
negatedImplicitTestString in item.info.unique.stats
) {
const thisModValues =
item.info.unique.stats[negatedImplicitTestString];
combination.values.forEach((stat, index) => {
Expand Down Expand Up @@ -284,7 +287,10 @@ export function tryParseTranslation(
refName in item.info.unique.stats ||
negatedRefName in item.info.unique.stats
) {
if (negatedRefName in item.info.unique.stats) {
if (
negatedRefName !== refName &&
negatedRefName in item.info.unique.stats
) {
const thisModValues = item.info.unique.stats[negatedRefName];
combination.values.forEach((stat, index) => {
const tierBounds = thisModValues[index];
Expand Down

0 comments on commit 32729fe

Please sign in to comment.