跳到正文

Damage Correction

作者:StarChen

Smooths combat by compensating near-lethal damage, ensuring clean kills without altering core balance.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Damage Correction Mod

When a single attack is already enough to decide the outcome, this mod automatically fills in the small remaining difference, delivering a cleaner and smoother combat experience.

Design Goals

Have you ever charged up a powerful attack for ages, only to see the enemy left with a tiny sliver of health?

Or lost the fight because a boss survived with just a bit of HP and turned the tables?

This mod exists exactly for those moments!

It evaluates the final damage result. If the damage dealt by the player is almost enough to kill a creature, the mod will make up the difference and finish the job.

Combat. Feels. Good.

Mechanics

Calculation Logic

  • finalDamage: The final effective damage (after armor, enchantments, etc.)
  • healthBefore: The target’s health before taking damage
IF
healthBefore > finalDamage
AND
healthBefore - finalDamage <= finalDamage * k

Where:

k determines how much remaining health (relative to the damage dealt) is considered close enough to trigger full damage correction.

Example

  • Monster health: 10
  • Final damage dealt: 8

Remaining health: 2

With the default setting k = 0.5:

2 <= 8 * 0.5 → True

👉 An extra 2 damage is applied, instantly killing the monster.

But if the monster’s health is 20:

20 - 8 = 12
12 > 8 * 0.5 → False

👉 No correction is applied; damage is handled normally.

Configuration

The following options can be modified in
damage_correction-common.toml under the config folder.

this is a Mod config page image

License

Licensed under the MIT License. Feel free to use it 😊

常见问题

Damage Correction 支持哪些 Minecraft 版本?

Damage Correction 支持 Minecraft Java 版 1.19.2–26.2,共 8 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Damage Correction 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

StarChen 的其他作品

查看全部 →