Fix: Redirect Item_Moon_Madness_Fang to Item_Moon_Rage_Fang

This commit is contained in:
LmeSzinc 2024-06-19 23:04:53 +08:00
parent f241b4315c
commit 15d439d4fb
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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