本模组为每种可附魔的物品设定了附魔上限,默认值为向下取整的 10 + (附魔能力/2) 点。每次附魔都会消耗部分上限点数,若附加附魔会导致超出该上限,则无法进行附魔。你可以配置基于附魔能力的附魔点容量、基础附魔池,以及针对特定物品的特殊例外规则。每个附魔每级所消耗的点数也可自定义配置。
如果铁砧操作导致多个不同点值的附魔被应用,系统会自上而下逐个添加附魔等级,直到无法继续添加为止。具有负数消耗量的附魔(可通过配置实现,例如诅咒类附魔)将优先于正数消耗量的附魔应用。因此,如果你愿意承担诅咒带来的后果,便有可能在物品上附加更多附魔。
例如,假设你使用一本包含“力量 V”、“击退 II”和“无限”的附魔书来附魔一把弓,并将弓的上限配置为 10 点,“力量”每级消耗 4 点,“击退”每级消耗 2 点,“无限”每级消耗 1 点:
“力量”将提升至二级后停止,因为此时弓仅剩 2 点附魔点数。“击退”会消耗这 2 点附魔点数,使其自身增加一级;而“无限”则不会被添加,因为弓的 10 点附魔点数已全部分配完毕。
最终你将得到一把拥有“力量 II”和“击退 I”的弓。
This mod assigns an enchantment cap to every enchantable item, which defaults to 10+(enchantability/2) points rounding down. Every enchantment consumes some amount of this cap, and you are unable to add enchantments if they would exceed this cap. The enchantment point capacity with respect to enchantability, base enchant pool, and special exceptions for specific items can be configured. The amount of points each enchantment will consume per level can be configured. If an anvil operation causes multiple enchantments of varying point values to be applied, each enchantment will add levels until they cannot do so anymore, in a top-down manner. Enchantments with negative cost (this can be configured to happen with things such as curses) will be applied before enchantments with positive cost. In this way it is possible to add more enchantments onto your item if you are willing to bear the consequences of the curses.
For instance, if you were to enchant a bow with a book of Power V, Punch II, and Infinity, after configuring bows to have 10 points, Power to take 4 points per level, Punch to take 2 points per level, and Infinity to take 1 point per level:
Power will increase to level II, then stop as the bow only has 2 enchantment points left. Punch will take those two enchantment points to add one level of itself, and Infinity will not be added as the bow is already allocated all 10 of its enchantment points.
You will end up with a bow that has Power II and Punch I.
评论 0
登录后参与评分
还没有评论,来抢沙发吧