将锋利、亡灵杀手、节肢杀手和穿刺的伤害计算方式改为基于百分比。本模组旨在缩小附魔重型武器与轻型武器之间的差距。
许多模组会加入“快速但低伤害”与“缓慢但高伤害”的对比,甚至包括双手武器。当附魔带来的额外伤害全部是线性叠加时,平衡性就会崩溃,在后期游戏中,快速武器的每秒伤害(DPS)几乎总是占优。由于采用固定数值加成,单手武器因攻击速度更快,其 DPS 提升比例远大于双手武器。
完全可配置!
您可以精细调整平衡性:
- 是否对该附魔启用乘数逻辑。
- 是否覆盖默认的附魔行为(取消固定数值加成)。
- 第一级的乘数是多少。
- 每一级额外增加多少乘数。
默认设置
本模组默认更改以下附魔的效果(基于较轻武器基础伤害为 6 时的原版缩放比例,如匕首,并将原版附魔效果按比例缩放而非固定数值):
- 锋利:从第一级 +1、每级额外 +0.5 改为:第一级 +16.8%、每级额外 +8.3%。(5 级时倍率为 x1.5)
- 节肢杀手、亡灵杀手、穿刺:从每级 +2.5 改为:每级 +41.6%。(5 级时针对特定生物的基础伤害倍率为 x3.08)
请注意,此效果可与暴击叠加(例如:暴击的 1.5 倍率乘以 3.08 倍率)
注:根据我的经验,来自模组的附魔(如灾厄之斧和潜影贝杀手,具体因模组而异)没有硬编码的伤害缩放逻辑,可以通过数据包实现。
将其伤害相关的 minecraft:add 效果替换为以下内容:
"type": "minecraft:multiply",
"factor": {
"type": "minecraft:linear",
"base": 1.416,
"per_level_above_first": 0.416
}
我建议解压相应的模组 jar 文件,以找到其“enchantments”文件夹所在的数据包路径。在我发现不支持数据包的模组之前,我认为没有必要专门为模组附魔添加配置支持。如果您发现某个模组附魔无法通过数据包生效,欢迎在 GitHub 上提交 Issue!
Changes Sharpness, Smite, Bane of Arthropods and Impaling damage calculations to be percentage based. This mod aims to lessen the gap between enchanted heavy vs light weapons.
Mods often add "fast and weak" vs "slow and powerful" and even 2-handed weapons. When the additional damage from enchantments is all linear, the balance falls apart and fast weapons almost always win out in DPS in lategame. Because of the flat additions, the % DPS increase for 1 handed is much greater than 2 handed due to faster attack rate.
Fully Configurable!
So you can fine tune the balance:
- Whether to run the multiplier logic at all for this enchant.
- Whether to override the default enchantment behavior (undo flat additions)
- What the first level multiplier is.
- What each additional level adds to that multiplier.
Default Settings
This mod changes the following enchantments by default (Based on Vanilla scaling at 6 damage from a lighter weapon, Knives, + vanilla enchants scaled to percentage instead):
- Sharpness changed from, +1 first level, +0.5 per additional: +16.8% level 1, + 8.3% per additional. (x1.5 at level 5)
- Bane of Arthropods, Smite, Impaling changed from 2.5 per level: +41.6% per level. (x3.08 base damage at level 5 vs specific mobs)
Keep in mind this stacks on top of crits (e.g. 1.5x from crit times 3.08x)
Note: For modded enchantments from my experience (Illager's Bane and Sculk's Smite, will vary per mod), they don't have hardcoded damage scaling logic and will work through a Data Pack.
Replace their damage minecraft:add effect(s) with the following:
"type": "minecraft:multiply",
"factor": {
"type": "minecraft:linear",
"base": 1.416,
"per_level_above_first": 0.416
}
I recommend unzipping the given mod jar(s) to find the data folder path to their "enchantments" folder. Until I find a mod that doesn't work with a datapack, I don't see the need to make config support for modded enchantments specifically. If you find a modded enchantment that doesn't work through a Datapack, feel free to bring up an issue on the GitHub!
评论 0
登录后参与评分
还没有评论,来抢沙发吧