mirror of
https://github.com/PaiGramTeam/StarRailDamageCal.git
synced 2024-11-24 09:15:37 +00:00
20 lines
624 B
Python
20 lines
624 B
Python
import json
|
|
from pathlib import Path
|
|
|
|
EXCEL = Path(__file__).parent
|
|
|
|
with Path.open(EXCEL / "RelicMainAffixConfig.json", encoding="utf8") as f:
|
|
RelicMainAffix = json.load(f)
|
|
|
|
with Path.open(EXCEL / "RelicSubAffixConfig.json", encoding="utf8") as f:
|
|
RelicSubAffix = json.load(f)
|
|
|
|
with Path.open(EXCEL / "AvatarPromotionConfig.json", encoding="utf8") as f:
|
|
AvatarPromotion = json.load(f)
|
|
|
|
with Path.open(EXCEL / "EquipmentPromotionConfig.json", encoding="utf8") as f:
|
|
EquipmentPromotion = json.load(f)
|
|
|
|
with Path.open(EXCEL / "light_cone_ranks.json", encoding="utf8") as f:
|
|
light_cone_ranks = json.load(f)
|