Implement tower rewards

This commit is contained in:
Mikhail
2024-12-21 11:22:54 -05:00
parent faead3eba1
commit c8a47a39d0
3 changed files with 31 additions and 4 deletions

View File

@@ -59,6 +59,7 @@ namespace EpinelPS.StaticInfo
public Dictionary<int, SkillInfoRecord> skillInfoTable = [];
public Dictionary<int, CostRecord> costTable = [];
public Dictionary<string, MidasProductRecord> mediasProductTable = [];
public Dictionary<int, TowerRecord> towerTable = [];
@@ -492,6 +493,12 @@ namespace EpinelPS.StaticInfo
{
this.mediasProductTable.Add(obj.midas_product_id_proximabeta, obj);
}
var towerTable = await LoadZip<TowerTable>("TowerTable.json", progress);
foreach (var obj in towerTable.records)
{
this.towerTable.Add(obj.id, obj);
}
}
public async Task LoadJukeboxListData(ProgressBar bar)