简介
你觉得 Minecraft 太简单了吗?玩了这么多年游戏后,我忍不住觉得确实如此。或者因为添加了各种疯狂的模组而变得太难了?Scaling Health 旨在通过让玩家、生物或两者都能获得额外生命值来平衡整合包。或者,如果你愿意,玩家也可以从较少的生命值开始。该模组具有高度可配置性。
此模组最初是作为 Difficult Life 的非官方移植版开始的,我个人非常喜欢玩那个模组。最终,我决定从头重建该模组,修复错误,添加更多配置选项,并将模组的范围扩大到包括需要更容易体验的玩家,而不仅仅是更难体验的。与 Difficult Life 中使用的系统不同,这个难度系统对服务器非常友好。
主要特性
- 每个玩家的难度系统。为每个玩家跟踪一个难度值。有几个因素可以增加/降低你的难度。默认情况下,它会随时间推移缓慢增加。随着难度增加,生物会变得更强。生物的力量基于几种方法之一进行计算(见下文)。此功能可以根据你的喜好进行调整/禁用。
- 更多的玩家生命值!或者更少。玩家可以获得心之水晶以增加其最大生命值。通常,即使死亡后你也会保留额外的生命值(可配置)。还可以更改玩家的初始生命值,并且最大生命值上限也是可配置的。你还可以设置生命值随经验等级增加/减少。
- 大量控制选项。大量的配置选项和数据文件让你可以按照自己喜欢的方式玩游戏!
要求
需要 Silent Lib 和 Minecraft Forge。
难度
玩家难度
为每个玩家跟踪一个难度值。默认情况下,这会随时间缓慢增加。你也可以设置模组在玩家杀死某些类型的生物或玩家死亡时增加/降低难度。你还可以设置难度在一定间隔后重置,例如每周一次。
玩家难度通常用于计算生成生物时的难度,但某些模式使用其他方法(见下一节)。起始和最大难度级别以及每秒增加的数值都是可配置的。默认情况下,空闲玩家积累难度的速度更慢。
难度值将决定生物可以拥有多少额外生命值。生物还将获得额外攻击伤害和药水效果。更高的难度值也会增加生物作为腐化者(blights)生成的几率……
区域难度
当生成生物时,会为生物生成的位置计算一个“区域难度”值。然后使用该值来确定额外生命/伤害、成为腐化者的几率等。根据模式的不同,这通常是基于所有附近玩家的难度水平。“附近”意味着在搜索半径内,这是可配置的。
模式
- average - 2个字段:“radius”,这是一个大于64的整数,以及一个可选的布尔值“weighted”,默认为true。该模式取指定半径内所有玩家的(加权或非加权)平均值。
- maxima - 2个字段:“radius”,这是一个大于64的整数,以及一个可选的布尔值“min”,默认为true。取指定半径内的最小或最大玩家难度。
- distance - 2个字段:“distanceFactor”,这是一个正实数(double),以及一个可选的布尔值“fromOrigin”,默认为false。难度基于距原点或出生点的距离,乘以 distanceFactor。
- distance_and_time - 2个字段:“average”和“distance”,即上述提到的对象。
- server_wide - 无字段,难度不是针对每个玩家的,而是整个服务器相同的。
生命值缩放
生物(默认情况下包括被动和敌对的生物)会随着难度增加而获得额外生命值。可以通过配置文件更改添加额外生命值的方式。
- 乘数模式 (MULTI, MULTI_HALF, 和 MULTI_QUARTER) - 生物的生命值被乘以,因此基础生命值较高的生物将获得更大的提升。MULTI 对所有生物应用相同的乘数,而 MULTI_HALF 和 MULTI_QUARTER 对生命值大于20的生物应用较少的乘数。所有这些应该仍然比 ADD 模式提供更多生命值。MULTI_HALF 是默认值。
- 加法模式 (ADD) - 对所有生物的固定增加。这是 Difficult Life 使用的方法。
伤害缩放
你可以增加玩家从各种来源受到的伤害量。默认情况下,不进行任何伤害缩放。你可以在 player/damage 下的配置文件中自定义这一点。
你可以选择三种模式之一:随玩家最大生命值缩放、玩家难度或区域难度。最大生命值模式与你设置在配置文件中的初始生命值成比例。所以如果你有100点生命值且初始生命值为20,那就是4倍乘数 ((100 - 20)/20)。难度模式将难度值乘以你可以在配置文件中调整的“权重”值。权重默认为0.04,这将在250难度时产生10倍乘数 (0.04*250=10)。我将这个数字称为模式数量。
对于每种伤害来源的缩放值,0的值(默认)表示无缩放。1的值将按比例缩放到模式数量,因此生存能力不会随生命值增加。0到1之间可能是理想的,但如果想要增强某些类型的伤害,也可以将其设置为高于1。
最终计算是将缩放值乘以模式数量再乘以原始伤害量,然后将其加到造成的伤害上。所以,类似 damage = original * (1 + scale * modeAmount)。
腐化者
Blights 是极其强大的怪物。它们是普通怪物(甚至来自其他模组),但生成时拥有远超平常的生命值、更高的伤害输出能力,以及多种药水效果,包括大幅度的速度提升。它们通常还会穿戴盔甲。Blights 始终带有紫色火焰特效,即使在水中也能轻松识别。
默认情况下,Blights 掉落的心晶比普通怪物更多(每个默认掉落 0-2 个,而不是小概率获得一个),并且提供十倍的经验值。Blights 有多种配置选项可用,如果不需要,甚至可以完全禁用。
方块与物品
心晶 (Heart Crystal)
心晶用于增加玩家的最大生命值。当怪物被击杀时可能会掉落(不同怪物类型的掉落率可配置),也可以由心晶碎片合成。只需使用(右键点击)它们即可每颗额外增加一颗心。心晶还能恢复少量额外生命值。
可以在配置中禁用通过心晶增加生命值的功能,使其仅作为治疗物品使用。在提供额外生命值时,心晶会发出“叮”的一声。
掉落物由战利品表控制,因此你需要覆盖 Scaling Health 的怪物类型战利品表来更改掉落率。
力晶 (Power Crystal)
力晶的行为类似于心晶,但使用时会增加玩家的基础攻击力。默认情况下,每使用一颗力晶增加 0.5(四分之一颗心)的攻击力。默认情况下,力晶比心晶更稀有。
诅咒之心 (Cursed Heart) 和 附魔之心 (Enchanted Heart)
诅咒之心在使用时会增加游戏难度。附魔之心在使用时会降低游戏难度。这些物品偶尔会在特定难度等级下从某些特定类型的怪物身上掉落。可以通过编辑 Scaling Health 的怪物类型战利品表来更改此设置。
绷带 (Bandages) 和 医疗包 (Medkits)
绷带和医疗包在使用时会恢复你最大生命值的百分比。要应用其中之一,需按住右键持续 5 秒。你将获得“包扎”药水效果,每秒恢复一部分生命值,但在效果持续期间移动速度会变慢。如果你的生命值完全恢复,该效果将会消失。制作绷带和医疗包都需要心尘,因此在你的最大生命值提高之前,制作它们并不划算。
杂项
- 心能水晶矿 - 开采时掉落心能水晶。随着你远离出生点,它的出现频率会逐渐增加。
- 心能水晶碎片 - 开采心能水晶矿石时有几率掉落。此外,击杀怪物时也有机会获得。
- 心尘 - 由一个心容器制作而成,用于制作绷带和医疗包。单个心容器可制成 24 份心尘。
难度条
你的 HUD 上会不时显示一条难度条(你也可以通过按键绑定来手动显示)。这条实际上分为两部分,尽管在大多数情况下你无法直接区分它们。难度条的上半部分(也是最大的一部分)代表你所在区域的区域难度。当你在服务器中靠近其他玩家,或者使用基于距离的模式时,你可能会看到这部分数值增长。下半部分则是你的玩家难度。这是你的角色随时间累积的难度值,在大多数情况下,它被用来计算区域难度。
命令
Scaling Health 包含了一些命令。这些命令非常适合测试、调试以及规避一些 bug……
/sh_difficulty - 查看或更改玩家难度
/sh_health - 查看或更改玩家生命值
- 模式
get - 查看当前值。此时必须省略 [value] 参数。
set - 将值设置为 [value]。
add - 在当前值的基础上增加 [value]。
帮助!
常见问题解答、技术支持等。
问:如何配置该模组?
答:你必须使用文本编辑器编辑配置文件(config/scalinghealth)。在服务器配置中,包含调试模式以及需要启用的各项功能。这些功能可以通过数据包中的机制文件进行更细致的配置,请参阅随 SH 版本分发的 user_starter_pack.zip。
问:我该如何禁用 X?
答:在服务器配置中找到想要禁用的功能,并将“true”改为“false”。如果找不到该选项,则说明需要通过数据包来操作。
问:健康系统与其他模组兼容吗?
A:这取决于具体情况。使用属性修改器来改变生命值的模组似乎能较好地兼容。对于玩家生命值,Tough As Nails 没有问题,但 Cyclic 的心形容器会被 Scaling Health 完全覆盖。对于生物,我见过一些情况,其中多个修改器以不理想的方式叠加。因此,最好让每个情况下只允许一个模组调整生命值。
问:我可以在整合包中使用此模组,或在安装该模组的情况下制作视频/直播,或分享/发布配置文件吗?
答:可以!
问:我可以将此模组重新分发到其他网站吗?(不作为整合包的一部分)
答:不可以!绝对不行!如果您想在其他网站上推广我的作品,您可以链接到此处进行下载。
问:我们可以移植到 <在此处插入古老的 Minecraft 版本> 吗?
A:否。
链接
Silent's Power Scale - Scaling Health 的全新、完全重新设计的继任者,适用于 NeoForge 1.21 及更高版本!
This mod is no longer maintained. For Minecraft 1.21 and beyond try Silent's Power Scale instead!
Introduction
Minecraft too easy for you? After playing the game for years, I can't help but feel it is. Or perhaps it's too hard with all the crazy mods you've added? Scaling Health aims to balance out modpacks, by allowing players, mobs, or both to gain extra health! Or players can start with less health, if that's what you want. The mod is highly configurable.
This mod started as an unofficial port of Difficult Life, a mod I personally loved playing with. Eventually, I decided to rebuild the mod from the ground up, fixing bugs, adding more config options and widening the scope of the mod to include players who need an easier experience, not just a harder one. The difficulty system is very server-friendly, unlike the system used in Difficult Life.
Key Features
- A per-player difficulty system. A difficulty value is tracked for each player. There are several factors that can increase/decrease your difficulty. By default, it increases slowly as time passes. As difficulty increases, mobs become stronger. Mob strength is calculated based on one of several methods (see below). This feature can be tweaked/disabled to your heart's content.
- More player health! Or less. Players can obtain heart crystals that increase their maximum health. Normally, you keep the extra health even after dying (configurable). The player's starting health can also be changed, and the max health cap is configurable as well. You can also set health to increase/decrease with XP levels.
- Lots of control. Plenty of config options and data files to let you play the game however you like!
Requirements
Silent Lib and Minecraft Forge are required.
Difficulty
Player Difficulty
A difficulty value is tracked for each player. By default, this increases slowly over time. You can also set the mod to increase/decrease difficulty when players kill certain types of mobs or when the player dies. You can also set difficulty to reset at certain intervals, like every week.
Player difficulty is typically used to calculate difficulty when spawning mobs, but some modes use other methods (see next section). The starting and maximum difficulty levels and the amount added each second are configurable. By default, idle players accumulate difficulty more slowly.
The difficulty value will determine how much extra health mobs can have. Mobs will also gain bonus attack damage and potion effects. Higher difficulty values also increase the chance of mobs spawning as blights...
Area Difficulty
When mobs are spawned, an "area difficulty" value is calculated for the position the mob is spawned at. This value is then used to determine extra health/damage, chance of becoming a blight, etc. Depending on the mode, this is usually based on the difficulty level of all nearby players. "Nearby" means within the search radius, which is configurable.
Modes
- average - 2 fields: "radius", which is an integer greater than 64 and an optional boolean "weighted" which defaults to true. The mode takes the (weighted or not) average of all players in the specified radius.
- maxima - 2 fields: "radius, which is an integer greater than 64 and an optional boolean "min" which defaults to true. Takes the min or max player difficulty in the specified radius.
- distance - 2 fields: "distanceFactor", which is a positive real number (a double), and an optional boolean "fromOrigin" which defaults to false. Difficulty is based on distanced from the origin or the spawn, multiplied by the distanceFactor.
- distance_and_time - 2 fields: "average" and "distance", which are the objects mentioned above.
- server_wide - no fields, the difficulty is not per player but the same for the whole server.
Health Scaling
Mobs (both passive and hostile by default) will gain extra health as difficulty increases. The way extra health is added can be changed in the config file.
- Multiplier modes (MULTI, MULTI_HALF, and MULTI_QUARTER) - The mob's health is multiplied, so that mobs with a higher base health will get a bigger boost. MULTI applies the same multiplier to all mobs, while MULTI_HALF and MULTI_QUARTER apply less for mobs with greater than 20 health. All of these should still apply more health than ADD mode. MULTI_HALF is the default.
- Additive mode (ADD) - A flat increase for all mobs. This is what Difficult Life used.
Damage Scaling
You can increase the amount of damage players take from various sources. By default, no damage scaling is performed. You can customize this in the config under player/damage.
You can choose one of three modes: scale with player max health, player difficulty, or area difficulty. Max health mode is proportional to the starting health you set in the config. So if you have 100 health and starting health is 20, that's a 4x multiplier (100 - 20)/20. The difficulty modes multiply the difficulty value by a "weight" value you can tweak in the config. The weight defaults to 0.04, which would result in a 10x multiplier at 250 difficulty (0.04*250=10). I'll call this number the mode amount.
For the scale value for each damage source, a value of 0 (default) results in no scaling. A value of 1 would scale proportional to the mode amount, so survivability would not increase with health. Between 0 and 1 might be ideal, but you could also set it higher than 1 if you want to buff certain damage types.
The final calculation multiples the scale by the mode amount by the original damage amount, then adds that to the damage dealt. So, something like damage = original * (1 + scale * modeAmount).
Blights
Blights are extremely powerful mobs. These are ordinary mobs (even from other mods) that have spawned with far more health, higher damage-dealing potential, and a variety of potion effects including a large speed boost. They also tend to spawn with armor. Blights have a purple fire effect at all times which makes them easy to identify, even if submerged in water.
By default, blights drop more heart crystals than standard mobs (0-2 each by default, instead of a small chance of getting one) and ten times the XP. Blights have a variety of config options available, and can even be disabled entirely if that's what you want.
Blocks and Items
Heart Crystal
Heart crystals are used to increase players' maximum health. They can drop when mobs are killed (with configurable rates for different mob types) or crafted from heart crystal shards. Simply use (right-click) them to gain one extra heart per container. Heart crystals also restore a couple extra hearts.
Gaining health from heart crystals can be disabled in the config, allowing them to act only as a healing item. Heart crystals will make a "ding" sound when giving extra health.
Drops are controlled by loot tables so you need to override Scaling Health's mob type loot tables to change drop rates.
Power Crystal
Power crystals behave similarly to heart crystals, but they increase a player's base attack power when used. By default, it is a 0.5 (quarter heart) increase per crystal used. They are less common than heart crystals by default.
Cursed Heart and Enchanted Heart
The cursed heart will increase difficulty when used. The enchanted heart will decrease difficulty when used. These drop occasionally from certain mob types at certain difficulty levels. This can be changed by editing Scaling Health's loot tables for mob types.
Bandages and Medkits
Bandages and medkits will restore a percentage of your maximum health when used. To apply one, use it (hold right-click) for 5 seconds. You will be given the "Bandaged" potion effect and a portion of your health will be restored each second, but you will move more slowly while this is in effect. The effect is removed if your health is fully restored. Both bandages and medkits require heart dust to craft, so they won't be very economical to make until your maximum health is higher.
Miscellaneous
- Heart/power crystal ore - Drops heart/power crystals when mined. Becomes more common as you travel further from spawn.
- Heart/power crystal shards - Dropped when heart/power crystal ore blocks are mined. These sometimes drop from killed mobs as well.
- Heart dust - Crafted from a heart container and used to make bandages and medkits. A single heart container makes 24 dust.
Difficulty Bar
A difficulty bar will appear on your HUD from time-to-time (there's also a keybinding to show it). This bar actually has two parts, although you can't tell in most cases. The upper part of the bar (the largest part) is the Area Difficulty at your location. You may see this portion grow when near other players on a server, or when using a distance-based mode. The lower part is your Player Difficulty. That's the difficulty your player accumulates over time, which is used to calculate Area Difficulty in most cases.
Commands
Scaling Health includes a couple of commands. These are good for testing, goofing off, and working around bugs...
/sh_difficulty - Check or change player difficulty
/sh_health - Check or change player health
- Modes
get - Check the value. The [value] parameter must be left out.
set - Set the value to [value].
add - Adds [value] to the current value.
Help!
FAQ, tech support, and such.
Q: How do I configure the mod?
A: You must edit the config files with a text editor (config/scalinghealth). In the server config, there are debug modes and the different features to enable. The features are more configurable in a datapack with the mechanics files, see the user_starter_pack.zip distributed with SH versions.
Q: How do I disable X?
A: In the server config, find the feature you want to disable and change "true" to "false", if the option is not available, it is because it needs to be done via datapacks.
Q: Is the health system compatible with other mods?
A: It depends. Mods that use modifiers to change health seem to work well enough together. For player health, Tough As Nails has no issues, but Cyclic's heart containers are completely overridden by Scaling Health. For mobs, I've seen some cases where modifiers stack together in undesirable ways. Probably best to just allow one mod to tinker with health in each case.
Q: Can I use this in a mod pack, make videos/streams with the mod installed, or share/publish config files?
A: YES!
Q: Can I redistribute your mod on another site? (Not part of a mod pack)
A: NO! Absolutely not! You can link back to here for downloads if you want to promote my work on another site.
Q: Can we get a port to <insert ancient Minecraft version here>?
A: No.
Links
Silent's Power Scale - A new, completely redesigned successor to Scaling Health, for NeoForge 1.21 and later!
评论 0
登录后参与评分
还没有评论,来抢沙发吧