mirror of
https://github.com/Jylpah/blitz-tools.git
synced 2026-10-24 11:39:52 +02:00
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55a1eb65c5 | ||
|
|
4ca2ad5b69 | ||
|
|
becc608f0c | ||
|
|
97e9cf5a54 | ||
|
|
f5e67798b4 | ||
|
|
2eced2eda0 | ||
|
|
025a786bdd |
No files matched your search
@@ -123,9 +123,9 @@ async def extract_tanks(blitz_app_base : str, nation: str):
|
||||
tank = dict()
|
||||
tank['is_premium'] = issubclass(type(tank_xml['price']), dict)
|
||||
tank['nation'] = nation
|
||||
tank['tank_id'] = await get_tank_id(nation, int(tank_xml['id']))
|
||||
tank['tank_id'] = get_tank_id(nation, int(tank_xml['id']))
|
||||
tank['tier'] = int(tank_xml['level'])
|
||||
tank['type'] = await get_tank_type(tank_xml['tags'])
|
||||
tank['type'] = get_tank_type(tank_xml['tags'])
|
||||
tank['userStr'] = tank_xml['userString']
|
||||
#bu.debug('Reading tank string: ' + tank['userStr'], force=True)
|
||||
tanks.append(tank)
|
||||
@@ -206,10 +206,12 @@ async def convert_tank_names(tanklist : list, tank_strs: dict) -> dict:
|
||||
|
||||
return tankopedia_sorted, userStrs_sorted
|
||||
|
||||
async def get_tank_id(nation: str, tank_id : int) -> int:
|
||||
|
||||
def get_tank_id(nation: str, tank_id : int) -> int:
|
||||
return (tank_id << 8) + (wg.NATION_ID[nation] << 4) + 1
|
||||
|
||||
async def get_tank_type(tagstr : str):
|
||||
|
||||
def get_tank_type(tagstr : str):
|
||||
tags = tagstr.split(' ')
|
||||
for t_type in wg.TANK_TYPE:
|
||||
if tags[0] == t_type:
|
||||
|
||||
+9
-2
@@ -1,7 +1,14 @@
|
||||
# WoT Blitz releases
|
||||
|
||||
| Release | Date | Notes |
|
||||
| Release | Date | Content updates |
|
||||
|:-------:|:--------:|-------------|
|
||||
| 9.8 | 2023-03-22 | F\*cked up The Quick Commands Wheel, camos |
|
||||
| 9.7 | 2023-02-15 | Chinese light tanks |
|
||||
| 9.6 | 2023-01-11 | Finally fixing game sounds for players with Genelec studio monitors, more gold camos |
|
||||
| 9.5 | 2022-12-14 | Camos and ?|
|
||||
| 9.4 | 2022-11-09 | Italian TD line |
|
||||
| 9.3 | 2022-10-04 | Nothing, except legandary camos and utterly incomprehensible shell icons |
|
||||
| 9.2 | 2022-08-17 | New shot sounds and shell hit marks, vehicle restoration from the game client |
|
||||
| 9.1 | 2022-07-14 | Releases updated via DLC, graphics updates for Object 140, Patton 46 |
|
||||
| 9.0 | 2022-06-08 | Japanies heavies, Castilla graphics update, new garage |
|
||||
| 8.10 | 2022-04-28 | New battle results screen, new "Operation" mechanics |
|
||||
@@ -47,7 +54,7 @@
|
||||
| 5.2 | 2018-08-22 | Faust map |
|
||||
| 5.1 | 2018-07-31 | New MM: vehicle class matching |
|
||||
| 5.0 | 2018-06-30 | Vineyeards map update, Spare Parts removed ! |
|
||||
| 4.10 | 2018-05-24 | Alpenstadt map |
|
||||
| 4.10 | 2018-05-24 | Replays, Alpenstadt map |
|
||||
| 4.9 | 2018-04-25 | Chinese heavy tanks |
|
||||
| 4.8 | 2018-03-28 | Choice of battle modes, crew skills accelerator |
|
||||
| 4.7 | 2018-02-28 | New minimap |
|
||||
|
||||
Reference in new issue
Block a user