Skip to content

Commit

Permalink
add missing engraving books, fix thousands parsing for currency exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
gogodr committed Jul 22, 2022
1 parent 478eb46 commit da93548
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ In order to contribute to the LostArk Marketplace database, the contributor must
Audio files from [MixKit](https://mixkit.co/)

### Changelog
### 0.8.12.1
- Fix thousands parsing of currency exchange
- Add missing engraving books

### 0.8.11.1
- Crystal name change

Expand Down
2 changes: 1 addition & 1 deletion modules/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


class Config(metaclass=Singleton):
version = "0.8.11.1"
version = "0.8.12.1"
region: str
game_region: str
debug = False
Expand Down
26 changes: 25 additions & 1 deletion modules/market_data/engraving_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
'category': 'Engraving Recipe',
'subcategory': None
},
'[Scrapper] Ultimate Skill: Taijutsu Engraving Recipe': {
'[Scrapper] Ultimate Skill: Taijutsu ...': {
'name': '[Scrapper] Ultimate Skill: Taijutsu Engraving Recipe',
'amount': 1,
'category': 'Engraving Recipe',
Expand Down Expand Up @@ -191,6 +191,30 @@
'category': 'Engraving Recipe',
'subcategory': None
},
'[Destroyer] Gravity Training ...': {
'name': '[Destroyer] Gravity Training Engraving Recipe',
'amount': 1,
'category': 'Engraving Recipe',
'subcategory': None
},
'[Destroyer] Rage Hammer Engravin...': {
'name': '[Destroyer] Rage Hammer Engraving Recipe',
'amount': 1,
'category': 'Engraving Recipe',
'subcategory': None
},
'[Arcanist] Grace of the Empress ...': {
'name': '[Arcanist] Grace of the Empress Engraving Recipe',
'amount': 1,
'category': 'Engraving Recipe',
'subcategory': None
},
'[Arcanist] Order of the Emperor ...': {
'name': '[Arcanist] Order of the Emperor Engraving Recipe',
'amount': 1,
'category': 'Engraving Recipe',
'subcategory': None
},
'Adrenaline Engraving Recipe': {
'name': 'Adrenaline Engraving Recipe',
'amount': 1,
Expand Down
2 changes: 1 addition & 1 deletion modules/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def process_crystal_table(self):
rect = Rect(rect_start.x, rect_start.y,
rect_start.x + scanMap[self.tab]['w'], rect_start.y + scanMap[self.tab]['h'])

price = int(self.get_text(rect, False))
price = int(self.get_text(rect, False).replace(".","").replace(",",""))

if Config().debug:
self.debug_screenshot = cv2.rectangle(
Expand Down

0 comments on commit da93548

Please sign in to comment.