需要 ProtocolLib
功能:
所有功能均可通过配置文件禁用
- 使用新的公式来计算铁砧所需的经验等级。
- 允许在原版等级上限(39级)之外继续使用铁砧。
- 禁用修补术(默认关闭)
- 赋予你使用其他盔甲部件为盔甲更换外观的功能(详见画廊了解具体操作)
为什么要更改铁砧公式?
在原版的等级计算公式下,附魔等级较低的书籍变得毫无用处,因为可能会导致费用过高。
你需要一个计算器来推算应该先放哪本书,这非常麻烦。
由于经验值要求以及修补术过于不平衡,使用矿石进行修复并不实用。
铁砧等级公式:
这对游戏性并非必需,请查看代码以获得更清晰的说明。
TL;DR:等级根据附魔的变化量进行计算。
基础公式 (代码):
Cost=∑(Level×3)+[修补术奖励 (5)]
如果使用附魔书 (代码):
Repair Cost=[书的成本计算]×乘数
如果未使用 (代码):
Final Repair Cost=max(1,[结果成本]−max([物品1成本],[物品2成本]))×乘数
重命名和修复始终消耗 1 级经验。
示例:
注意:为了清晰起见,附魔等级用罗马数字表示,数值计算时乘数为 1。
无附魔镐 + 耐久 III 需要 9 级 (III * 3)
耐久 III 镐 + 修补术 需要 8 级 (I * 3 + 5)
效率 V 镐 + 耐久 III 镐 需要 9 级 ((V*3 + III*3)-max(V*3,III*3))
配置:
| 名称 |
描述 |
默认值 |
| disableMending |
禁用修补术 |
false |
| maxCost |
允许的最高等级 |
32767 |
| multiplier |
等级乘数(需要重新平衡) |
1 |
| disableRebalance |
禁用重新平衡 |
false |
| disableSkinning |
禁用换肤 |
false |
致谢:
感谢 Anvil Unlocker 提供的关于解锁等级如何工作的信息
Require ProtocolLib
Features:
All features can be disable with config
- Uses a new formula for calculating the required experience levels for anvils.
- Allows anvil usage beyond the vanilla level 39 cap.
- Disable mending (default off)
- Gives you the ability to skin armor using other armor pieces (see gallery for how)
Why change the anvil formula?
With the vanilla formula for level calculation, book with low enchants level are useless as it could lead to being too expensive.
You need a calculator to calcualte what book to put on first, which is annoying.
Repairing with ores are not practical due to the xp requirement and mending are too unbalanced.
Anvil level formula:
This is not required for gameplay, please check code for more clearity.
TL;DR: Levels are calculated base on changes in enchantment.
Basic formula (code):
Cost=∑(Level×3)+[Mending Bonus (5)]
If enchantment books are used (code):
Repair Cost=[Cost calculation of book]×Multiplier
If not (code):
Final Repair Cost=max(1,[Result Cost]−max([Item1 Cost],[Item2 cost]))×Multiplier
Rename and repair always cost 1 level.
Examples:
Note level of enchants are represent with roman numerals for clearity, value calculate with multiplier of 1.
Unenchanted pickaxe + Unbreaking III require 9 levels (III * 3)
Unbreaking III pickaxe + Mending require 8 level (I * 3 + 5)
Efficiency V pickaxe + Unbreaking III pickaxe require 9 level ((V*3 + III*3)-max(V*3,III*3))
Config:
| Name |
Description |
default |
| disableMending |
disable mending |
false |
| maxCost |
Max level allowed |
32767 |
| multiplier |
Level multiplier (require rebalance) |
1 |
| disableRebalance |
disable rebalance |
false |
| disableSkinning |
disable skinning |
false |
Credit:
Anvil Unlocker for showing infomation about how level unlock work
评论 0
登录后参与评分
还没有评论,来抢沙发吧