mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-24 17:42:46 +00:00
45 lines
1.5 KiB
Python
45 lines
1.5 KiB
Python
def convert_daily(value):
|
|
if value == "Calyx_Crimson_Hunt":
|
|
value = "Calyx_Crimson_The_Hunt"
|
|
return value
|
|
|
|
|
|
def convert_20_dungeon(value):
|
|
if value == 'Calyx_Golden_Memories':
|
|
return 'Calyx_Golden_Memories_Jarilo_VI'
|
|
if value == 'Calyx_Golden_Aether':
|
|
return 'Calyx_Golden_Aether_Jarilo_VI'
|
|
if value == 'Calyx_Golden_Treasures':
|
|
return 'Calyx_Golden_Treasures_Jarilo_VI'
|
|
if value == 'Calyx_Golden_Memories':
|
|
return 'Calyx_Golden_Memories_Jarilo_VI'
|
|
|
|
if value == 'Calyx_Crimson_Destruction':
|
|
return 'Calyx_Crimson_Destruction_Herta_StorageZone'
|
|
if value == 'Calyx_Crimson_The_Hunt':
|
|
return 'Calyx_Crimson_The_Hunt_Jarilo_OutlyingSnowPlains'
|
|
if value == 'Calyx_Crimson_Erudition':
|
|
return 'Calyx_Crimson_Erudition_Jarilo_RivetTown'
|
|
if value == 'Calyx_Crimson_Harmony':
|
|
return 'Calyx_Crimson_Harmony_Jarilo_RobotSettlement'
|
|
if value == 'Calyx_Crimson_Nihility':
|
|
return 'Calyx_Crimson_Nihility_Jarilo_GreatMine'
|
|
if value == 'Calyx_Crimson_Preservation':
|
|
return 'Calyx_Crimson_Preservation_Herta_SupplyZone'
|
|
if value == 'Calyx_Crimson_Abundance':
|
|
return 'Calyx_Crimson_Abundance_Jarilo_BackwaterPass'
|
|
|
|
return value
|
|
|
|
|
|
def convert_rogue_farm(value):
|
|
if isinstance(value, dict) and 'value' in value.keys():
|
|
value['value'] = 100 - value['value']
|
|
value['total'] = 100
|
|
return value
|
|
|
|
def convert_Item_Moon_Madness_Fang(value):
|
|
if isinstance(value, dict):
|
|
value['item'] = 'Moon_Rage_Fang'
|
|
return value
|