mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-15 22:19:18 +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),
|
||||
('Rogue.RogueWorld.SimulatedUniverseElite', 'Rogue.RogueWorld.SimulatedUniverseFarm', convert_rogue_farm),
|
||||
# 2.3
|
||||
('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'),
|
||||
('Dungeon.Planner.Item_Moon_Madness_Fang', 'Dungeon.Planner.Item_Moon_Rage_Fang',
|
||||
convert_Item_Moon_Madness_Fang),
|
||||
]
|
||||
|
||||
@cached_property
|
||||
|
@ -37,3 +37,8 @@ def convert_rogue_farm(value):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user