装备与法术移除属性需求
移除所有装备和法术的属性需求惩罚,让武器、法术、盾牌、护甲及物品技能不再因力量、敏捷或灵性不足而受限。属性需求数值本身不会被修改,也不会写入存档;可随时安装或卸载。需要 Steam 版《Tainted Grail: The Fall of Avalon》及 BepInEx 5(Mono)5.4.23 或更新版本。
基于 GodsGunman 的 Remove Crosshair 修改:移除准星,并将潜行图标下移以避开准星。作者说明主要原作者应获得 99% 的署名;本模组的 DLL 不需要原模组,但教程见原模组页面。
99% 的功劳应归于作者 GodsGunman。他制作了 Remove Crosshair。本模组除了移除准星,还会将潜行图标稍微下移,让它避开准星。
作者表示,如果 GodsGunman 希望将此 DLL 作为可选文件加入原模组页面,可以告知作者,届时作者会撤下本页面;并建议将原模组改名为类似“自定义准星和潜行图标”的名称,以免混淆。
作者花了一晚研究如何修改 GodsGunman 的文件,并分享了操作过程,供有类似需求的人参考。以下内容是原作者提供的修改说明:
使用 dnSpy 的一个分支打开 DLL:https://github.com/dnSpyEx/dnSpy
找到 RemoveCrosshair 命名空间/类。原文列出的程序集与类型结构如下:
System.Private.CoreLib (8.0.0.0)
System.Private.Uri (8.0.0.0)
System.Linq (8.0.0.0)
System.Private.Xml (8.0.0.0)
System.Xaml (8.0.0.0)
WindowsBase (8.0.0.0)
PresentationCore (8.0.0.0)
PresentationFramework (8.0.0.0)
dnlib (4.4.0.0)
dnSpy (6.5.1.0)
>RemoveCrosshair (1.0.0.0)
----> RemoveCrosshair.dll
PE
Type References
References
Microsoft.CodeAnalysis
------->RemoveCrosshair
----------->CrosshairPatch @02000005
Base Type and Interfaces
Derived Types
CrosshairPatch0 : void @0600000A
OnCrouch ToggledPostfix(HeroCrosshair, bool) : void @06000009
****************OnRefreshLayerPrefix(HeroCrosshair) : bool @06000008
MyPluginInfo @02000008
Plugin @02000006
PluginConsts @02000007
System.Runtime.CompilerServices
netstandard (2.1.0.0)
System.Runtime (9.0.0.0)
System.Private.CoreLib (9.0.0.0)
System.Runtime.InteropServices (9.0.0.0)
System.Runtime (8.0.0.0)
System.Runtime.InteropServices (8.0.0.0)
System.Collections (8.0.0.0)
OnRefreshLayerPrefix,在主窗口查看反编译代码。flag 变量(局部变量 3),随后传给 SetActive:[UnityEngine.CoreModule]UnityEngine.Behaviour::set_enabled(bool)
66 00AF ldloc.2
67 00B0 ldloc.3
true。点击第 67 行,在顶部编辑字段中将 ldloc.3 改为:ldc.i4.1
Operand 留空。ldc.i4.1 表示“载入整数常量 1”(即 true)。
5. 按 Enter 或点击其他位置应用更改,然后点击 OK 关闭 IL 编辑器。
——结束——
作者列出的关联前置为 Remove Crosshair,但说明此 DLL 并不需要安装原模组;相关操作说明可在原模组页面查看。
原作者:GodsGunman。当前页面作者表示其工作主要是研究并修改原作者的文件。
Filename says RemoveCrosshair because that is the OG author's filename. I didn't care enough to research how their config file generates to know whether or not it would break references if i changed the filename. So the filename is the same as theirs.
前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。
<!-- aoe-mods-source:nexusmods:taintedgrailthefallofavalon:75 -->