mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: Redirect Item_Moon_Madness_Fang to Item_Moon_Rage_Fang
This commit is contained in:
parent
f241b4315c
commit
15d439d4fb
@ -688,8 +688,8 @@ class ConfigUpdater:
|
|||||||
('Dungeon.DungeonDaily.CalyxCrimson', 'Dungeon.DungeonDaily.CalyxCrimson', convert_20_dungeon),
|
('Dungeon.DungeonDaily.CalyxCrimson', 'Dungeon.DungeonDaily.CalyxCrimson', convert_20_dungeon),
|
||||||
('Rogue.RogueWorld.SimulatedUniverseElite', 'Rogue.RogueWorld.SimulatedUniverseFarm', convert_rogue_farm),
|
('Rogue.RogueWorld.SimulatedUniverseElite', 'Rogue.RogueWorld.SimulatedUniverseFarm', convert_rogue_farm),
|
||||||
# 2.3
|
# 2.3
|
||||||
('Dungeon.Planner.Item_Moon_Madness_Fang', 'Dungeon.Planner.Item_Moon_Rage_Fang'),
|
('Dungeon.Planner.Item_Moon_Madness_Fang', 'Dungeon.Planner.Item_Moon_Rage_Fang',
|
||||||
('Dungeon.Planner.Item_Moon_Madness_Fang.item', 'Dungeon.Planner.Item_Moon_Rage_Fang.item'),
|
convert_Item_Moon_Madness_Fang),
|
||||||
]
|
]
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
|
@ -37,3 +37,8 @@ def convert_rogue_farm(value):
|
|||||||
value['value'] = 100 - value['value']
|
value['value'] = 100 - value['value']
|
||||||
value['total'] = 100
|
value['total'] = 100
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
def convert_Item_Moon_Madness_Fang(value):
|
||||||
|
if isinstance(value, dict):
|
||||||
|
value['item'] = 'Moon_Rage_Fang'
|
||||||
|
return value
|
||||||
|
Loading…
Reference in New Issue
Block a user