|
|
转自n网:https://www.nexusmods.com/norestforthewicked/mods/21
Prevents Fallen Ember consumption during enchantment adding & rerolls in No Rest for the Wicked. Uses intelligent context detection to only block ember removal during enchantment operations, allowing normal item usage elsewhere.
在《邪恶无休》中,它防止附魔添加和重掷时消耗堕落余烬。使用智能上下文检测,仅在附魔作中阻止火星移除,允许在其他地方正常使用物品。
DESCRIPTION 描述
FreeReroll is a sophisticated mod that eliminates the cost of enchantment rerolls and adds in No Rest for the Wicked. The mod works by intercepting and modifying multiple game systems:
FreeReroll 是一个复杂的模组,取消了附魔重掷的费用,并加入了“邪恶无休”功能。该模组通过截取并修改多个游戏系统来工作:
Core Functionality: 核心功能:
- Cost Elimination: Patches InventoryAPI.RemoveItem() and related methods to prevent ember consumption during enchantment operations
成本消除:补丁 InventoryAPI.RemoveItem() 及相关方法,防止附魔作中火星消耗 - Smart Context Detection: Uses InventoryItemInfoElement.ShowEnchantmentManipulationMode() as start trigger and InventoryScreenMain.OnEnchantmentManipulationEnded() as end trigger
智能上下文检测:使用 InventoryItemInfoElement.ShowEnchantmentManipulationMode() 作为启动触发,使用 InventoryScreenMain.OnEnchantmentManipulationEnded() 作为结束触发 - Resource Protection: Prevents Fallen Ember consumption during enchantment operations by blocking InventoryAPI.RemoveItem(), RemoveItemOfType(), and ItemsAPI.RemoveFromStack() calls
资源保护:通过阻止 InventoryAPI.RemoveItem()、RemoveItemOfType()和 ItemsAPI.RemoveFromStack()调用,防止附魔作中消耗 Fallen Ember。 - State Management: Tracks active enchantment operations with timestamps for precise control
状态管理:通过时间戳跟踪正在进行的附魔作,实现精确控制
Technical Implementation:
技术实现:
- Uses Harmony patching to intercept 6 essential methods for context detection and 4 consumption methods for resource protection
使用 Harmony 补丁拦截 6 种关键上下文检测方法和 4 种资源保护消耗方法 - Implements sophisticated context detection system to only block ember removal during active enchantment operations
实现了复杂的上下文检测系统,仅在主动附魔作中阻止火星清除 - Patches both InventoryAPI and ItemsAPI removal methods for comprehensive coverage
补丁涵盖 InventoryAPI 和 ItemsAPI 的移除方法,实现全面覆盖 - Includes comprehensive error handling and logging for debugging
包含全面的错误处理和日志记录,用于调试
User Experience: 用户体验:
- Seamlessly integrates with existing enchantment UI
与现有附魔界面无缝集成 - No configuration required - works immediately upon installation
无需配置——安装后立即生效 - Maintains game balance by only affecting enchantment costs, not other systems
通过只影响附魔成本,而不影响其他系统来维持游戏平衡 - Allows normal item usage outside of enchantment operations
允许在附魔作之外正常使用物品 - Compatible with other mods and game updates
兼容其他模组和游戏更新
COMPATIBILITY 兼容性
Compatible With 兼容
- MelonLoader: v0.7.2-ci.2388 nightly (Enable Nightly builds in the installer)
MelonLoader:v0.7.2-ci.2388 nightly(在安装程序中启用 Nightly 构建) - No Rest for the Wicked
恶人无休 - Other Mods: Designed to work alongside other mods (use nightly for Fr4nsson's mods)
其他模组:设计为与其他模组协同工作(每晚使用 Fr4nsson 的模组) - Game Updates: Compatible with Together (v21610687)
游戏更新:兼容 Together(v21610687)
INSTALLATION 安装
Prerequisites 前提条件
1. MelonLoader (v0.7.0 or higher)
1. MelonLoader(v0.7.0 或更高版本)
2. No Rest for the Wicked (The Breach - Refined), by Moon Studios
2. 邪恶无休(裂隙 - 精炼版),Moon Studios 制作
Installation Steps 安装步骤
1. Download the Mod 1. 下载模组
- Download FreeRespec.dll from the releases page
从发布页面下载 FreeRespec.dll
2. Install the Mod 2. 安装模组
- Navigate to your No Rest for the Wicked installation directory (steamapps/common)
进入你的“无休止”安装目录(steamapps/common) - Locate the Mods folder (automatically created by MelonLoader)
查找 Mods 文件夹(由 MelonLoader 自动创建) - Copy FreeRespec.dll into the Mods folder
把 FreeRespec.dll 复制到 Mods 文件夹里
3. Launch the Game 3. 启动游戏
- Start No Rest for the Wicked normally
正常开始“邪恶无休止” - MelonLoader will automatically load the mod
MelonLoader 会自动加载模组 - Check the console for initialization messages
检查控制台上的初始化信息
USAGE 使用情况
How to Use 如何使用
- Access Enchantment Menu: Open an item's enchantment interface in your inventory
进入附魔菜单:在物品栏中打开物品的附魔界面 - Perform Rerolls: Reroll enchantments as normal - no Fallen Embers will be consumed
执行重掷:按正常方式重掷附魔——不会消耗掉落余烬 - Add Enchantments: Add new enchantments without ember cost
添加附魔:添加新附魔而不消耗余烬 - Normal Gameplay: All other item usage and consumption works normally
正常游戏体验:其他物品的使用和消耗都正常 - Unlimited Enchantment Operations: You can reroll and add enchantments as many times as you want without losing your embers
无限附魔行动:你可以无限次重掷和添加附魔,而不会丢失火星
|
|