Epic Fight Posture Integration logo

Epic Fight Posture Integration

Adds a Posture system, guard breaks, executions, PvP mechanics, and automatic mob compatibility to Epic Fight.
item image

Parrying to Break Enemy Posture

item image

Execution on a Posture-Broken Enemy

item image

Automatic Mob Compatibility — Maledictus Execution from L_Ender's Cataclysm

Description

Epic Fight Posture Integration (EFPI) adds a Posture system to Epic Fight combat. Attack, parry, and guard to break your opponent's Posture and open them up to executions with Combat Evolution.

The system supports both PvE and PvP, with automatic compatibility for supported modded mobs and configurable combat balance.

EFPI combat demonstration

Features

  • PvE Posture: Break enemy guards through attacks, parries, and guards.
  • PvP Posture: Uses Epic Fight's stamina as Posture, enabling guard breaks and executions in player-versus-player combat.
  • Executions: Perform executions through Combat Evolution, with dynamic range scaling based on weapon reach and target size.
  • HUD: Displays health, Posture, and stamina bars for supported entities.

Compatibility

EFPI supports mobs with compatible Epic Fight patches and can automatically add support to vanilla-style humanoids, spiders, and supported GeckoLib, Lionfish API, and other humanoid models.

Compatibility has been tested with L_Ender's Cataclysm and Iron's Spells 'n Spellbooks. Not all custom models are supported; incompatible mobs can be blacklisted.

On dedicated servers, an operator should join after initial setup or changes to the mod list to detect compatible mobs. New compatibility is applied without a restart.

Requirements

DependencyForgeNeoForge
Minecraft1.20.11.21.1
Mod Loader47.4.10+ (47.x)21.1.219+ (21.1.x)
Epic Fight20.14.17–20.15.x21.17.3.1–21.17.x
Combat Evolution2.2.8–2.3.x2.3.2–2.3.x

Optional Dependencies: GeckoLib, Lionfish API.

Note: Epic Fight 20.15.0 is not supported.

EFPI and its required dependencies must be installed on both the client and server.

Configuration

HUD visibility and execution sound volume can be adjusted in the in-game mod configuration menu. Combat balance and compatibility are configured in config/epicfight_posture_integration/server.toml.


PvE Mechanics & Configuration

Effective Health (EHP)

Effective Health is calculated from maximum health, armor, and armor toughness against a reference hit of 8 damage.

ArmorReduction = clamp(Armor - 8 / (2 + Toughness / 4), Armor * 0.2, 20)

EHP = MaxHP / clamp(1 - ArmorReduction / 25, 0.2, 1)

Maximum Posture

BasePosture = 3.2 * max(0.01, EHP / 20)^0.7

MaxPosture = max(1, BasePosture)

Maximum Posture scales sublinearly with EHP. Posture values are bounded between 0.1 and 1,000,000.

These formulas use the mob's current maximum health and armor attributes.

Attack Posture Damage

ImpactFactor = clamp(0.7 + 0.3 * sqrt(Impact / 3), 0.7, 1.5)

AttackDamage = BasePosture * 0.75 * ImpactFactor
               * (ActualHPLoss / MaxHP) * AttackMultiplier

Attack Posture damage depends on actual HP loss and Epic Fight's Impact attribute. Attacks with no HP loss or non-positive Impact deal no Posture damage.

Parry Posture Damage

ParryFraction = MinFraction + (MaxFraction - MinFraction)
                * (20 / max(InnateEHP, 20))^0.7

ParryDamage = MaxPosture * ParryFraction * ParryMultiplier

Parry damage scales between 10% and 22% of maximum Posture by default, depending on the entity type's innate EHP rather than its current modified attributes.

This keeps parry effectiveness consistent when other mods modify mob health and armor.

Guard Posture Damage

GuardDamage = ParryDamage * GuardMultiplier

Successful normal guards and Impact Guard deal 25% of parry Posture damage by default, regardless of weapon type.

Parrying or guarding projectiles applies an additional projectile defense multiplier, which is zero by default.

Guard Break Resistance

Resistance = min(1 + CompletedBreaks * ResistanceStep, MaxResistance)

AppliedDamage = PostureDamage / Resistance

Mobs become more resistant to Posture damage after each successful guard break.

Guard BreakResistanceDamage Taken
First1.0x100%
Second1.5x66.7%
Third and later2.0x50%

Posture Regeneration

Posture regenerates after 15 seconds without Posture damage, restoring 2% of maximum Posture per second by default.

Configuration Defaults

[posture]
attack_posture_damage_multiplier = 1.0
parry_posture_damage_multiplier = 1.0
guard_posture_damage_enabled = true
guard_posture_damage_multiplier = 0.25
projectile_defense_posture_multiplier = 0.0
parry_base_max_percent = 22.0
parry_base_min_percent = 10.0
posture_break_resistance_step = 0.5
posture_break_resistance_max = 2.0

[regeneration]
delay_seconds = 15.0
percent_per_second = 2.0

[entities]
attack_posture_damage_multipliers = []
parry_posture_damage_multipliers = []

Per-Mob Balance

Individual attack and parry multipliers can be assigned using entity IDs. These values replace their corresponding global multipliers.

[entities]
attack_posture_damage_multipliers = ["cataclysm:ignis=0.25"]
parry_posture_damage_multipliers = ["cataclysm:ignis=0.5"]

In this example, Ignis takes 25% of the default attack Posture damage and 50% of the default parry Posture damage.

Setting a multiplier to 0 disables that source of Posture damage.

PvP Mechanics & Configuration

PvP Posture uses Epic Fight's existing stamina resource instead of a separate Posture bar.

These mechanics apply only to combat between players. Server PvP and team friendly-fire settings are respected.

Direct Hit Stamina Drain

ArmorFactor = 1 / (1 + StunArmor / ArmorDivisor)

StaminaDamage = MaxStamina * HitCoefficient * ImpactFactor
                * (ActualHPLoss / MaxHP) * ArmorFactor

The Impact factor follows the same formula as PvE attack Posture damage.

Epic Fight's Stun Armor attribute reduces the defender's stamina damage.

Defensive Actions

StaminaCost = (MaxStamina / ReferenceMax) * Impact * Cost

The following values define the default stamina cost per point of Impact.

ActionAttacker CostDefender Cost
Normal Guard25
Impact Guard33
Parry6Native Epic Fight cost

Normal Guard and Impact Guard costs for the defender are reduced by the ArmorFactor. Attacker costs are not reduced by Stun Armor.

With the default reference maximum of 100, each cost point corresponds to 1% of the player's maximum stamina.

Normal Guard and Impact Guard use these costs instead of Epic Fight's native guard cost during eligible PvP combat. Parries retain their native stamina cost for the defender.

Projectile Defense

The projectile multiplier scales PvP stamina costs caused by parrying or guarding projectiles.

A value of 0 disables additional stamina drain from defending against projectiles and retains Epic Fight's native guard cost.

Stamina Recovery

Natural stamina recovery is delayed for 5 seconds after PvP stamina loss by default. The delay restarts whenever additional PvP stamina loss occurs.

Executions and Assassinations

Depleting an opponent's stamina triggers a guard break, making the opponent vulnerable to executions through Combat Evolution.

Rear assassinations between players are disabled by default and can be enabled separately.

Disabling PvP Posture also disables player-versus-player executions and assassinations. Mob executions and assassinations are unaffected.

Configuration Defaults

[pvp]
posture_enabled = true
assassination_enabled = false
max = 100
regen_delay = 5
hit_coefficient = 0.75
guard_attacker = 2
guard_defender = 5
impact_attacker = 3
impact_defender = 3
parry_attacker = 6
armor_divisor = 20
projectile_multiplier = 0

The max setting defines the reference scale for stamina costs, not the player's actual maximum stamina.

General Configuration

Execution and Assassination Range

Execution and assassination ranges scale according to weapon reach and target size.

ColliderReach = length(ColliderCenter) + MaxHalfExtent

WeaponFactor = clamp((0.75 + ColliderReach) / 1.8, 0.75, 1.5)

SizeBonus = clamp(TargetWidth / 2 - 0.3, 0, 3)

Range = BaseRange * WeaponFactor * RangeMultiplier + SizeBonus

Combat Evolution's base ranges are 4 blocks for executions and 2 blocks for assassinations.

The one-handed sword is used as the reference weapon. Weapons without readable collider data use a weapon factor of 1.0.

Weapons from Epic Fight addons are automatically supported when their collider data is available.

[posture]
execution_range_scaling_enabled = true
execution_range_multiplier = 1.0

The global range multiplier accepts values from 0.5 to 2.0. Disabling range scaling restores Combat Evolution's original fixed ranges.

To disable executions or assassinations entirely, use Combat Evolution's own configuration.

Entity Blacklist

[entities]
entity_blacklist = []

Blacklisted entities are excluded from Posture, automatic compatibility, and the health/Posture HUD.

Example:

entity_blacklist = ["modid:entity_name"]

Automatic Compatibility

[compatibility]
automatic_compatibility = true
mod_allowlist = []
mod_denylist = []
  • automatic_compatibility: Enables automatic support for compatible mobs.
  • mod_allowlist: Restricts automatic compatibility to specified mods. An empty list allows all mods.
  • mod_denylist: Excludes specified mods from automatic compatibility. Takes priority over the allowlist.

Existing Epic Fight patches take priority over automatically generated patches. Disabling automatic compatibility does not remove existing Epic Fight patches.

Dedicated Servers

Dedicated servers use renderer reports submitted by operator clients to detect compatible mob models.

Newly detected compatibility is applied to both new and already-loaded mobs without restarting the server.

Reloading client resources while connected as an operator triggers compatibility re-detection.

Client Configuration

Client configuration: config/epicfight_posture_integration/client.toml

[hud]
mob_health_bar_visibility = "DAMAGED_ONLY"

[sound]
execution_sound_volume_multiplier = 0.7

Available HUD visibility modes:

  • ALWAYS: Always display mob health and Posture bars.
  • DAMAGED_ONLY: Display bars when a mob has lost health or Posture, or has recently taken damage.
  • HIDDEN: Hide mob health and Posture bars.

Execution sound volume accepts values from 0.0 (muted) to 1.0 (full volume).

These settings can also be changed through the in-game mod configuration menu.


Feedback and bug reports are welcome. Automatic compatibility may not work with every mob.

EFPI is an unofficial third-party addon and is not affiliated with the developers of Epic Fight, Combat Evolution, or GeckoLib.

The Epic Fight Posture Integration Team

profile avatar
  • 1
    Projects
  • 142.6K
    Downloads