Skip to content

Commit

Permalink
Switch to more complete weight spreadsheet for 3.22, update README
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Slusny <[email protected]>
  • Loading branch information
deathbeam committed Oct 27, 2023
1 parent b24d21b commit b4a9852
Show file tree
Hide file tree
Showing 5 changed files with 695 additions and 708 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,11 @@ See issue mentioned in [For-non-developers](#for-non-developers) section for ref

## Sources of data

**Estimated Divination Card weights spreadsheet for 3.20** from **Prohibited Library** discord (used for getting card weights):
https://docs.google.com/spreadsheets/d/1m2oZfqkVK69p6vO2mPDavGJvF5DT_FknDe1y2uG9bpc
**Stacked Decks card + weight spreadsheet for 3.22** by **nerdyjoe** from **Prohibited Library** discord:
https://docs.google.com/spreadsheets/d/1PmGES_e1on6K7O5ghHuoorEjruAVb7dQ5m7PGrW7t80

**Stacked Decks card spreadsheet for 3.21** by **_🐌** from **Prohibited Library** discord (used as fallback when weight for card is not found, e.g newer cards):
https://docs.google.com/spreadsheets/d/104ESCXdjVGBSF1BNbClfoilVEYC7pIHZxOSsb5W-_r4

**Stacked Decks card spreadsheet for 3.22** by **nerdyjoe** from **Prohibited Library** discord (used as fallback when weight for card is not found, e.g newer cards):
https://docs.google.com/spreadsheets/d/13E4ciXrAQK5vl5PA4dtRTf_VrPeS-Fr7V_yjp5dJ0l0
**Stacked Decks card spreadsheet for 3.21** by **_🐌** from **Prohibited Library** discord (used as fallback when weight for card is not found):
https://docs.google.com/spreadsheets/d/104ESCXdjVGBSF1BNbClfoilVEYC7pIHZxOSsb5W-_r4

**Mob count spreadsheet** by **not_Shorex** (used for **Density**, contains exact mob counts per maps, averaged):
https://docs.google.com/spreadsheets/d/10ssi9lOJvDOo3G8Iq5xRyDv6-nbCJSxJhB5ANtaUn6w
Expand Down
17 changes: 4 additions & 13 deletions data/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,16 @@ data:
weights:
overwrite-threshold: 300
sheets:
- sheet-id: 1m2oZfqkVK69p6vO2mPDavGJvF5DT_FknDe1y2uG9bpc
sheet-name: NaturalCardWeights
- sheet-id: 1PmGES_e1on6K7O5ghHuoorEjruAVb7dQ5m7PGrW7t80
sheet-name: 3.22
key: 1
value: 2
skip: 2
- sheet-id: 13E4ciXrAQK5vl5PA4dtRTf_VrPeS-Fr7V_yjp5dJ0l0
sheet-name: Ancestor_Stacked45k
key: 0
value: 14
value: 20
skip: 2
decks:
overwrite-threshold: 300
overwrite-threshold: 1000
sheets:
- sheet-id: 104ESCXdjVGBSF1BNbClfoilVEYC7pIHZxOSsb5W-_r4
sheet-name: Decks 3.21
key: 0
value: 3
total: 0
mappings:
"Brother's Gift":
card: Brother's Stash
mult: 1
8 changes: 4 additions & 4 deletions site/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ function App() {
const poeRegex = useMemo(() => {
const re = '"' + [...new Set(filteredMaps.map(m => m.shorthand))].join('|') + '"'
if (re.length > 50) {
let splitMaps = re.substring(0,49).split('|')
return splitMaps.splice(0,splitMaps.length - 1).join('|') + '"'
let splitMaps = re.substring(0, 49).split('|')
return splitMaps.splice(0, splitMaps.length - 1).join('|') + '"'
}
return re
}, [filteredMaps])
Expand Down Expand Up @@ -596,8 +596,8 @@ function App() {
<span className="tooltip-tag tooltip-tag-bottom tooltip-tag-notice">
<span className="tooltip-tag-text">
Generates string that can be copy/pasted to Path of Exile search boxes that will search for the
filtered maps. PoE search fields are limited to 50 characters so the string is truncated to fit
the top maps based off search criteria.
filtered maps. PoE search fields are limited to 50 characters so the string is truncated to fit the
top maps based off search criteria.
</span>
<label className="form-label">PoE regex</label>
</span>
Expand Down
Loading

0 comments on commit b4a9852

Please sign in to comment.