为 Recruits 模组中的每个实体添加士气值(0–100)。
每当一名新兵受到伤害时,士气就会降低。士气损失与所受实际伤害量成正比,而非攻击次数;重击造成的士气冲击比轻击更大。
随着新兵经验值的增加,他们的士气下降速度会变慢。
士气损失可能取决于交战双方的身份:
示例:弓箭手害怕骑兵冲锋,骑兵畏惧长矛和戟类武器,长矛兵面对骑兵时保持冷静,步兵对弓箭手充满信心。
当新兵靠近己方同伴时,其士气恢复速度会加快。这鼓励了阵型作战和团队凝聚力,但设置了上限以防止叠加滥用,且在恐慌状态下此加成无效。
当附近的新兵死亡时,盟友会立即失去士气。经验丰富的新兵受影响较小,这使得在败局已定的战斗中恐慌能够自然蔓延。
士气会随时间缓慢恢复,且在受到伤害后有一段可配置的延迟期间禁止恢复。治疗、食物或再生效果不会恢复士气,以此防止在活跃战斗期间进行士气恢复。
当士气降至阈值以下时,新兵会陷入恐慌状态,恐慌中的新兵将:
- 无视玩家指令。
- 解散阵型。
- 逃离威胁。
只有当士气恢复到安全阈值以上时,恐慌才会结束。
可视化士气条会在新兵头顶显示一个士气条,仅在按下特定按键绑定(keybind)时可见。
本模组经过测试,对服务器和多玩家环境安全。
支持 Epic knights 及其附加组件中的武器用于单位类型匹配。
匹配图表:
| 防守方 |
进攻方 |
倍率 |
含义 |
| 弓箭手 |
骑兵 |
1.60× |
极度恐惧 |
| 弓箭手 |
剑士 |
1.25× |
中度恐惧 |
| 弓箭手 |
弓箭手 |
1.00× |
中立 |
| 弓箭手 |
长矛兵 |
1.00× |
中立 |
| 防守方 |
进攻方 |
倍率 |
含义 |
| 剑士 |
弓箭手 |
0.85× |
自信 |
| 剑士 |
长矛兵 |
1.00× |
中立 |
| 剑士 |
骑兵 |
1.00× |
中立 |
| 剑士 |
剑士 |
1.00× |
中立 |
| 防守方 |
进攻方 |
倍率 |
含义 |
| 长矛兵 |
骑兵 |
0.60× |
强烈自信 |
| 长矛兵 |
剑士 |
0.85× |
轻微自信 |
| 长矛兵 |
弓箭手 |
1.00× |
中立 |
| 长矛兵 |
长矛兵 |
1.00× |
中立 |
| 防守方 |
进攻方 |
倍率 |
含义 |
| 骑兵 |
长矛兵 |
1.50× |
极度恐惧 |
| 骑兵 |
弓箭手 |
0.75× |
自信 |
| 骑兵 |
剑士 |
1.00× |
中立 |
| 骑兵 |
骑兵 |
1.00× |
中立 |
所有选项均由 SERVERCONFIG(服务器配置文件)配置,而非普通 CONFIG。该文件位于你的世界文件中。
享受本模组,如果有任何 bug、建议或一般性意见,请通过我的 Discord (amigokilo88) 告知我。
如果你喜欢本模组或其他模组,可以通过 Ko-fi 支持我。
Adds a morale value (0–100) to every entity from the Recruits mod.
Morale is reduced whenever a recruit takes damage, morale loss scales with the actual damage amount not hit count, heavy hits cause larger morale shocks than light hits.
Recruits lose morale slower as they become more experienced.
Morale loss can depend on who is fighting whom
Examples:Archers fear cavalry charges, Cavalry fear spears and polearms, Spearmen remain calm against cavalry, Infantry is confident against archers.
Recruits regenerate morale faster when near friendly recruits, this encourages formation fighting and group cohesion, bonus is capped to prevent stacking abuse and panic disables this bonus.
When a nearby recruit dies, allies instantly lose morale, more experienced recruits are less affected, this allows panic to spread naturally in losing battles.
Morale regenerates slowly over time and regeneration is blocked for a configurable delay after taking damage, healing, food, or regeneration effects do not restore morale, this prevents morale recovery during active combat.
Recruits enter panic when morale drops below a threshold and panicking recruits:
Ignore player orders.
Break formation.
Retreat away from threats.
Panic ends only after morale recovers past a safe threshold
Visual Morale Bar displays a morale bar above recruits’ heads and is only visible while holding a keybind.
The mod is server and multiplayer safe and tested.
Epic knights and its addon weapons are supported for unit type matchmaking.
Match-making charts:
| Defender |
Attacker |
Multiplier |
Meaning |
| Archer |
Cavalry |
1.60× |
Severe fear |
| Archer |
Swordsman |
1.25× |
Moderate fear |
| Archer |
Archer |
1.00× |
Neutral |
| Archer |
Spearman |
1.00× |
Neutral |
| Defender |
Attacker |
Multiplier |
Meaning |
| Swordsman |
Archer |
0.85× |
Confident |
| Swordsman |
Spearman |
1.00× |
Neutral |
| Swordsman |
Cavalry |
1.00× |
Neutral |
| Swordsman |
Swordsman |
1.00× |
Neutral |
| Defender |
Attacker |
Multiplier |
Meaning |
| Spearman |
Cavalry |
0.60× |
Strong confidence |
| Spearman |
Swordsman |
0.85× |
Mild confidence |
| Spearman |
Archer |
1.00× |
Neutral |
| Spearman |
Spearman |
1.00× |
Neutral |
| Defender |
Attacker |
Multiplier |
Meaning |
| Cavalry |
Spearman |
1.50× |
Severe fear |
| Cavalry |
Archer |
0.75× |
Confident |
| Cavalry |
Swordsman |
1.00× |
Neutral |
| Cavalry |
Cavalry |
1.00× |
Neutral |
All options are configurable by SERVERCONFIG not regular CONFIG, it will be located in your world file.
Enjoy the mod and do let me know if you have any bugs, suggestions or in general an opinion about this on my discord- amigokilo88
If you enjoy this or my other mods you can support me through mt ko-fi.
评论 0
登录后参与评分
还没有评论,来抢沙发吧