ForgeReforgedCompat
Makes Reforged Potential and Forge of Enchantment work together, and keeps item data (such as Path of Valheiman modifiers) intact when Reforged Potential upgrades an item.ForgeReforgedCompat
Bugs or feedback? join the RTD discord where i mainly reside. LINK:https://discord.gg/8REs54mMS
Compatibility patch for Reforged Potential by Akuichi. It fixes two problems when Reforged Potential is installed next to other mods.
What it fixes
Forge of Enchantment Reforged Potential takes over every crafting station that is flagged as an upgrade station. Forge of Enchantment's forge is flagged that way too, so opening a socket was treated as a Reforged Potential quality upgrade: its own success roll, "level was reduced" on failure, and its own costs. Players could not socket gear or set trophies for their stat bonuses.
With this patch Reforged Potential steps aside while you are at the Forge of Enchantment forge. Everywhere else it works exactly as before.
Lost item data Reforged Potential upgrades an item by removing it and creating a new one, copying only quality, variant, crafter and slot. Anything else stored on the item is lost, including the modifiers that Path of Valheiman puts on gear. This patch copies the missing data onto the new item after every Reforged Potential upgrade, whether the roll succeeded or failed.
Installation
Install it with its dependencies. It must be on the server and on every client.
If you use ValheimEnforcer, add OblitusEs.ForgeReforgedCompat to your mod list.
Forge of Enchantment is only needed for the first fix. If Reforged Potential is not installed, the patch does nothing.
Tested with
- Reforged Potential 2.0.9
- Forge of Enchantment 1.0.0
- Path of Valheiman 5.3.6
- BepInExPack Valheim 5.4.2360
Credits
Reforged Potential is by Akuichi and Forge of Enchantment is by M2Valheim. This patch is a separate plugin and does not include or change their files. It is not affiliated with their authors.
