Block System¶
Summary: The Block System is a hold-to-block defensive mechanic. Holding the block input swaps the ALS overlay, slows movement, and reduces incoming damage to "chip" damage while spending stamina per blocked hit. When stamina is exhausted a guard break passes the remaining damage through and staggers the defender. Block stats are weapon-defined and, when a shield is equipped, resolved from the shield instead of the main-hand weapon. A fresh block press also opens a short timed-parry window that belongs to the press: a hit landing inside it is fully negated and the attacker is staggered through the poise system, even if the button is already up. A held press degrades to a normal block; a press that catches nothing and is let go costs a short recovery with no guard.
Table of Contents¶
- Architecture Overview
- Core Concepts (Why)
- Damage Pipeline
- Timed-Block Parry
- The Enemy Guard Stance
- Stat Resolution: Weapon vs Shield
- Unblockable & Guard-Breaking Attacks
- Stamina & Normalization
- Public Contracts
- Source References
- Related Systems
- Recent Changes
Architecture Overview¶
Blocking is split between an ability that owns the input/visual/state lifecycle and the attribute set that intercepts incoming damage. The two halves communicate through a delegate so that all resource costs flow through the standard GAS pipeline rather than mutating attributes directly.
Hold Block Input (Alt)
|
v
+---------------------+ InputReleased / guard break / stamina = 0
| UBlockAbility |--------------------------------------------------+
| (UEternalGameplay- | |
| Ability) | |
+---------------------+ |
| | | | |
| | | +-- ApplyGameplayEffect: GE_BlockingStateEffect |
| | | (grants State.Blocking + SetByCaller mvmt slow) |
| | | |
| | +-- ApplyParryWindow(): GE_ParryWindow |
| | (grants State.Parrying for ParryWindowDuration) |
| | |
| +-- SetOverlayMode(Overlay.Blocking / shield overlay) |
| (resolved from FWeaponSetConfig) |
| |
+-- bind OnDamageBlocked + OnDamageParried (server only) <--+ |
| |
Incoming damage GE | |
| | |
v | |
PostGameplayEffectExecute -> HandleIncomingDamage (UEternalAttributeSet) |
| | |
v | |
ProcessParryDamage() -- parried --> OnDamageParried(raw, Props) -----+ |
| not parried (damage = 0, attacker staggered) | |
v | |
ProcessBlockDamage() -- blocked --> OnDamageBlocked(cost, ...) ------+ |
| |
v v
reduced (chip) damage applied to Health EndAbility: remove GEs,
restore overlay, unbind
Core Concepts (Why)¶
Ability owns lifecycle, attribute set owns interception¶
The block state (overlay, movement slow, State.Blocking tag) is a normal UGameplayEffect granted by UBlockAbility. Damage interception must happen wherever damage is finally applied, which is UEternalAttributeSet::PostGameplayEffectExecute. Putting the angle/stamina/chip math in ProcessBlockDamage there guarantees every damage source is filtered consistently, regardless of which ability dealt it.
Costs go through the GAS pipeline, not direct setters¶
An earlier implementation called SetStamina directly inside PostGameplayEffectExecute; the stamina recovery effect immediately overwrote it. The system was refactored so the attribute set only signals a blocked hit via the OnDamageBlocked delegate, and UBlockAbility applies the stamina cost through a SetByCaller GE plus a recovery-block window. This mirrors how melee attacks spend stamina and is the canonical pattern for resource costs in this project.
The defender supplies its own resource¶
Blocking spends a resource per hit, but which resource and in what unit is the defender's business, not the
damage pipeline's. The player spends stamina, priced as a fraction of its own health pool so blocking stays
equally demanding as gear scales. An enemy has no live stamina at all and spends a dedicated guard pool, priced
in the raw damage it received. Both resolve through the same three virtuals on UCombatComponent
(GetBlockWeaponFragment, GetBlockResourcePool, GetBlockResourceCost), so UEternalAttributeSet needs no
knowledge of who is blocking. See The Enemy Guard Stance.
Poise is the exception and is deliberately not normalized against anything: it is authored in flat poise units on
both sides. It used to be divided by the target's MaxHealth, which cancelled MaxPoise out of the arithmetic and
made every poise knob in the game inert.
Hold-to-block, not toggle¶
UBlockAbility activates on input press and ends on InputReleased, guard break, or full stamina depletion. There is no toggle state to desync; the guard lasts as long as the input is held and stamina allows, or until the press's parry window closes if the button came up first.
A press that can't raise the guard (mid-swing, mid-flinch) isn't lost while the button stays held: the owning client's input handler retries each frame and raises the guard when the blocking action ends (Eternal.Combat.Buffer.HeldBlockRaisesGuard, default on). That activation carries the Event.Block.HeldEntry payload to the server with the predicted activation, and a guard entered that way opens no parry window, so holding block through a swing never hands out a free parry. A guard that ends while the button is held (guard break, stamina) is not raised again until the next press.
Damage Pipeline¶
ProcessBlockDamage() runs inside the target's PostGameplayEffectExecute and decides how much of the raw damage reaches Health.
RawDamage in
|
v
Target has State.Blocking? -------- no --> return RawDamage (no block)
| yes
v
Source actor exists? -------------- no --> return RawDamage (sourceless DoT/hazard = unblockable)
| yes
v
Hit has Attack.Unblockable? ------- yes -> return RawDamage (bypasses block)
| no
v
Resolve block FWeaponFragment ----- none -> return RawDamage
| (shield > main weapon)
v
Attacker within BlockAngle arc? --- no --> return RawDamage (hit from the side/back)
| yes
v
StaminaCost = pool-normalized cost
|
+-- Stamina >= cost? --- yes --> broadcast OnDamageBlocked(cost, false)
| return RawDamage * (1 - BlockDamageReduction) [chip]
|
+-- Stamina < cost? (GUARD BREAK)
broadcast OnDamageBlocked(remainingStamina, true)
return blocked-portion-chip + unblocked-portion [partial passthrough]
- Chip damage: a fully-funded block still lets
(1 - BlockDamageReduction)of the hit through, so blocking mitigates but is never free immunity. Chip reduction affects only what reaches the defender's Health — it does not weaken on-damaged / retaliation procs (e.g. of Reprisal on-block Bleed): theEvent.Combat.DamageReceivedmirror carries the pre-block magnitude, so a full block (chip = 0) still retaliates and the counter-DoT scales off the swing received. See Damage Execution. - Guard break: when stamina cannot cover the hit, only the affordable fraction is reduced; the remainder passes through at full value, and
UBlockAbilityappliesGE_GuardBreakEffect(grantsState.GuardBroken, a stagger window). - Poise: while
State.Blockingis active,UPoiseSystemComponentreduces incoming poise damage (BlockPoiseDamageReduction), so a held block also softens stagger pressure.
Timed-Block Parry¶
Parry is not a separate button — it is a sub-mode of blocking that rides the same hold-to-block Alt input. Every time UBlockAbility::ActivateAbility runs from a press, it applies a short HasDuration GE (GE_ParryWindow) that grants State.Parrying. A hit that lands while both State.Parrying and State.Blocking are present is parried — fully negated, with the attacker staggered — instead of merely blocked. When the window has expired the same hit falls through to the normal chip/stamina block path if the button is still held, and to a plain hit if it is not.
GAS owns the window's lifetime: timing, replication, and client prediction all come from the duration GE rather than bespoke timestamps. The decision is made server-authoritatively inside PostGameplayEffectExecute (via HandleIncomingDamage), the same authoritative spot as block, so every damage source is filtered consistently.
Why timed-block over a separate parry button¶
A Souls-style dedicated parry button conflicts with hold-to-block (the Alt key is already committed to guard). Timing the parry off a fresh block press keeps the existing input with zero new bindings, and a mistimed press that stays held degrades gracefully into a normal block: the player still guards the hit and pays only chip/stamina. Holding remains the safe way to learn. The risk sits only on the tap, which is the player choosing to drop the guard.
Parry Resolution Flow¶
ProcessParryDamage() runs as a sibling check before ProcessBlockDamage(). It shares the ResolveDefenseFragment() gate (sourceless filter, Attack.Unblockable filter, shield-priority fragment lookup, and the BlockAngle frontal-arc test) with the block path — ProcessBlockDamage was refactored to call that same helper so the two stay in lockstep.
HandleIncomingDamage(RawDamage, Props)
|
v
ProcessParryDamage():
State.Parrying AND State.Blocking? ---- no --> fall through to ProcessBlockDamage
| yes
v
Hit NOT Attack.Unparryable? ----------- no --> fall through to ProcessBlockDamage
| yes
v
ResolveDefenseFragment() != null? ----- no --> fall through to ProcessBlockDamage
| yes (source avatar exists, not Unblockable, in shared BlockAngle arc)
v
damage = 0
Props.bWasParried = true
broadcast OnDamageParried(RawDamage, Props)
return true --> HandleIncomingDamage returns early
(skips ProcessBlockDamage, Health change,
OnDamageReceived, and the on-hit proc events)
A parry costs no stamina and no poise to the defender, and suppresses the defender's hit-react and damage numbers entirely (the early return skips OnDamageReceived and the Event.Combat.DamageDealt / DamageReceived procs). All reaction comes from the OnDamageParried broadcast.
Attacker Reaction¶
On a successful parry, UBlockAbility::OnDamageParried runs server-side and turns the parry into pressure on the attacker:
- Hit direction — sets the attacker's hit direction
Defender → AttackerviaServer_SetHitDirection, so the stagger plays from the correct facing. - Poise-gauge damage: applies
ParryPoiseDamageFractionof the attacker's max poise (default0.5, so about 2 fresh parries = poise Break), passed directly in poise units throughUPoiseSystemComponent::ApplyPoiseDamageToActor. An ordinary enemy (threat tier Normal) takesNormalTierParryPoiseDamageFractioninstead (default1.0): one parry breaks it, so the first parry a player lands visibly wins the exchange. Because it is a fraction of the attacker's own pool rather than accumulated pressure, a parry does not get weaker as pools grow. That is deliberate: a parry is defensive mastery, not weapon pressure. - Directional hit-react — activates the attacker's
Effects.HitReactability (severity → knockback was just set by the poise damage). Normal enemies flinch on every parry; elites/bosses accumulate gauge until Break. - Opening — an enemy within
ParryOpeningReach(450 cm) enters the poise stagger forEternal.Combat.Parry.OpeningSeconds(1.2 s), throughUPoiseSystemComponent::EnterStaggerOnActor. It loses the swing it was in and cannot act, and the hit react above stands aside for the stagger. Bosses never open: their stance is the long game. A shot parried from further away leaves the shooter on its feet. 0 turns the opening off and leaves only the flinch. - AI hook — sends
Event.Combat.Parriedto the attacker's ASC so behavior trees can react (hesitation, combo abort). - Defender hook: sends
Event.Combat.ParryLandedto the defender's ASC, shaped like the damage-received mirror of a blocked hit (the attacker as instigator, the swing's size,Event.Hit.Blockedamong the instigator tags). A parry lets no damage through and sends noEvent.Combat.DamageReceived, so a retaliation proc that should also answer a parry lists this event as a second trigger. Procs that answer being hit stay silent. of Reprisal (GA_OnBlock_Bleed) uses it: a blocked or parried attacker bleeds.
See Poise System for how the gauge, severity, and Stagger/Break thresholds work.
The Window Belongs to the Press¶
Playtesters tapped the button and expected a parry, and a parry used to need block still held at contact. So the 250 ms window now runs out on its own: InputReleased inside the window does not end the ability, it starts a timer to the window's close. The guard, its pose and its movement slow stay for that time, so a tap reads as a guard on screen, and ProcessParryDamage needs no special case because both tags are still there.
Only the machine with the input knows about a release. It ends the ability when the window closes, and that end replicates, so the server's guard drops as its own window closes.
| The press | What a hit does | When the guard drops | Recovery |
|---|---|---|---|
| Released inside the window, hit inside it | Parry | When the window closes | None |
| Released inside the window, nothing caught | Hit after the close is a plain hit | When the window closes | Yes |
| Held past the window, let go within 0.5 s, nothing caught | Normal block while held | On release | Yes |
| Held past the window, let go after 0.5 s | Normal block while held | On release | None |
| Guard risen from a held button | Normal block, no window | On release | None |
Attack.Unparryable inside a released window is charged as a normal block, because the guard is still up.
What a Whiff Costs¶
A press that catches nothing costs State.ParryWhiff for 0.25 s (GE_ParryWhiff, length from Eternal.Combat.Parry.WhiffRecovery): no guard and no parry, from a press or from a held button. Attacks and dodges stay free. Mashing is priced in exposure, because for that quarter second a hit lands in full. A cancelled guard pays nothing: an attack or a dodge that cancels it is already the commitment.
Eternal.Combat.Parry.ShortGuard (0.5 s) extends the price past the window. Without it, a press held just past the window dodges the recovery, and a 300 ms rhythm of those keeps a window open nearly all the time. A guard that has parried or blocked anything never pays.
A second press during a released window spends the first. The ability ends and asks to activate again. A client cannot know whether its press caught anything, because only the server hears about a parry, so the server answers: after a parry it finds no recovery and the new press gets a full window, which keeps deflect chains alive against a combo; after nothing it finds the recovery and refuses. On a guest, a refused press shows the guard for a round trip before it drops.
The whiff is decided only on the server, so a guest's client learns of the recovery by replication. Pressing in that gap is the same refused press.
Measured in PIE, share of time with a window open and with any guard up:
| Mashing | Old rule | Now |
|---|---|---|
| Taps every 120 ms | 4%, guard 43% | 31%, guard 32% |
| 270 ms holds every 300 ms | 15%, guard 90% | 42%, guard 51% |
Mashing now finds more parries and leaves the player open far more. Eternal.Combat.Parry.TapWindow (default on) turns the old rule back on for comparison: the button must be held at contact, nothing pays a recovery, and a re-press within ParrySpamResetTime of a release halves the next window.
Defender Feedback¶
On parry, OnDamageParried calls ExecuteGameplayCue(GameplayCue.Combat.Parry), which replicates to all clients. UGameplayCueNotify_Parry (a static C++ cue) plays the reaction below and routes the cue through the defender's UCombatEffectsManager under the Effects.Parry config key — spark VFX, sound, camera shake, a zoom punch, the body recoil and a 180 ms hit stop all come from the standard combat-effects data. The freeze is TargetOnly: the defender stays free to riposte. Routing through the defender's manager matters because hit stop / camera impulses only fire when the manager's owner is the locally controlled pawn.
A blocked hit's surface rows freeze both bodies briefly (about 50 ms when an enemy hits the player's guard), through bPlaysOnLocalTarget, since a guard holding is the player's own success.
The parry's sound is deliberately one sound. It used to be a metallic clang layered under a separate posture-crack
from the poise side, and in playtest they fought: the beat read as noise rather than as "you damaged their posture".
The crack now replaces the clang in the Effects.Parry row — one sound, one meaning — which is the same
one-dominant-channel rule the break presentation applies everywhere else.
Attacker Feedback¶
The parry's whole point is that it turns the gauge around on the attacker, and that half was invisible until the poise pass. Two cues now carry it, both fired on the attacker:
| Cue | What it does |
|---|---|
GameplayCue.Poise.ParryReflect |
Posture-crack row on the attacker (VFX-only; the parry row already owns shake and hitstop), gated to enemy attackers. Also reveals the attacker's stance bar — a parry deals no health damage, and the bar's only other spawn path is the damage-number cue, so without this no amount of reflected poise could make the bar appear |
GameplayCue.Poise.Sunder |
Fires for free when the reflected poise is what finally breaks the attacker — the FSM cue is source-agnostic, so a parry-caused break shatters exactly like a weapon-caused one |
The reveal is gated on the defender pawn being locally controlled (the cue reaches every client, but only the parrying player should get the bar) and keeps the Elite+ tier gate, so parrying trash still shows nothing.
The Defender's Reaction¶
The parry cue plays the reaction on every machine, so the player who parried sees it on the same beat as everyone else. UGameplayCueNotify_Parry picks by guard surface: AM_Parry_Sword_ALS for a weapon, at 0.6 s, and AM_Parry_Shield_ALS for a shield, at 0.53 s, since the sword animation keeps both hands on the grip and would drag the shield arm overhead. Both live on GC_Parry.
Both are upper-body montages (ArmLeft, ArmRight, Head, Spine and Curves, with the layering curves baked into the source sequence), so the legs keep walking. A montage on PostLocomotion would play under the block overlay and barely show, which is why the old flinch never read over a guard. The sword montage plays the snap, runs through the hold at 5x and stops before the left hand leaves the grip at about 1.3 s, because the same montage has to work on a two-hander. Anim_1H_Sword_Block_Overlay is an exact copy of the source animation, so the parry shares its motion with the sword guard: change one and check the other.
The reaction is cosmetic: block state, overlay and input are untouched. UCombatComponent::PlayParryReaction stops it the moment an authored montage starts, because upper-body slots sit above the PostLocomotion attack slot and would hide the riposte (a two-hander's attacks play in PostLayering, above them; see Combat Animation). ALS's generated turn-in-place and transition montages do not count.
A short body recoil plays with it (FBodyRecoilLayer on the Effects.Parry row, 18 cm out in 0.05 s, back in 0.28 s). It moves the mesh and not the capsule, so it needs no prediction and costs no reach.
The Enemy Guard Stance¶
Shield-carrying enemies opt into a held guard (FEnemyBlockConfig.bHasGuardStance) that runs through the same
mitigation path the player uses. The block pipeline in UEternalAttributeSet was already source-agnostic except
for stat resolution, so the split was drawn there rather than by branching on actor type.
UEternalAttributeSet::ProcessBlockDamage (one implementation, both sides)
|
+-- GetBlockWeaponFragment() --> player: shield, else weapon
| enemy: fragment synthesized from FEnemyBlockConfig
+-- GetBlockResourcePool() --> player: stamina attribute
| enemy: private guard pool on UEnemyCombatComponent
+-- GetBlockResourceCost() --> player: health-normalized stamina cost
enemy: the raw damage received
Why the guard pool is charged in received damage¶
V1 reused the player's health-normalized cost, where a hit's cost scales with the pool's own maximum — so the maximum
cancelled out, every authored pool size broke after the same number of hits, and that number amounted to "a full
health bar of blocked damage", i.e. never. The pool now has one lever, GuardCapacityHealthFraction, and a blocked
hit costs exactly the damage it received — the raw figure, not the share the guard absorbed.
Charging 100% while mitigating 70% is deliberate: it keeps hits-to-break equal to capacity / raw damage and
therefore decoupled from BlockDamageReduction, so tuning mitigation never silently retunes durability. Capacity
resolves live from MaxHealth rather than at configure time, because spawn init pushes the guard config before the
AI controller applies balanced stats.
The guard races the health bar¶
A guard break is only reachable if the pool empties before the enemy dies. With p = the share of landed hits that
actually meet a raised guard and R = BlockDamageReduction, the break beats death only when:
At R = 0.7 that is p > 21% for a 0.25 capacity fraction, 25% for 0.3, and 37% for 0.5 — while measured p in
live PIE sat at 14-25%. So capacity is capped by the behavior tree's duty cycle, not chosen freely. Raising the
fraction on its own tunes the guard break out of existence silently, since nothing reports a break that never
happens. It moves only together with the BT work that raises how often the guard is actually up when a hit lands.
Regen is held by any damage¶
Once the cost formula was fixed the pool drained and the guard still never broke — the drain was losing a race with the refill. Two things fed that: the regen clock was armed only by blocked hits, and the enemy drops its guard to attack, so hits landing in that window cost the pool nothing and let the delay expire. The enemy's own attack animation was paying for its next shield. Every damage event of any kind (including DoTs and hazards) now re-stamps the same pressure window, and the delay is authored wider than the enemy's own raise-attack-recover cycle, so recovery rewards the player disengaging rather than resolving inside one exchange.
A break pays a stagger, and hands back half the pool¶
ApplyGuardBreak applies the optional State.GuardBroken GE and activates the enemy's Effects.Staggered
ability — deliberately the same reaction a poise stagger fires, so both ways of cracking an enemy's defense read
identically and the guard break needs no bespoke presentation. It is a pair, not a single call: the severity is
written to Stagger first, mirroring the poise path, because the reaction sizes its knockback from that value and
only Stagger powers through hyper armor.
The pool is handed back GuardBreakRefillFraction of capacity — a fixed share, not a share of whatever remained.
Both extremes fail: at 0 the stance returns empty and re-breaks on sight (regen cannot cover it, since a player who
keeps swinging holds regen off by design), locking the enemy out of guarding for the rest of the fight; at 1 every
break resets a fresh shield and erases any sense of wearing the enemy down.
Timing lives in the ability, not the tree¶
The first wiring had no punish window at all — the guard re-raised the same frame any drop path ran. Fixing it at the ability layer covers every drop path (attack commit, guard break, hit-react interrupt, BT branch change), which a BT-structure fix would not.
| Field | Default | Meaning |
|---|---|---|
GuardCapacityHealthFraction |
0.25 | Blocked damage the guard absorbs, as a fraction of max health |
GuardBreakRefillFraction |
0.5 | Share of capacity returned on a break |
GuardPoolRefillSeconds |
9s | Time to refill an empty pool once out of pressure (authored as a duration, matching poise, so retuning capacity cannot silently retune recovery) |
GuardPoolRegenDelay |
4s | Delay after the last damage of any kind before regen starts |
GuardReraiseCooldown |
1.5s | Guard stays down this long after a guard break — the opening the player earned |
GuardRecommitDelay |
0.9s | Guard stays down this long after any drop the player did not earn |
GuardRaiseDelay |
0.3s | Gap between the overlay tell and mitigation actually applying, so the tell leads the protection |
BlockDamageReduction |
0.7 | Fraction of a blocked hit mitigated |
BlockAngle |
120° | Frontal arc the guard covers |
PostHitGuardRaiseChance |
0.5 | Probability the BT re-raises after an attack's recovery; read by the tree |
Splitting the break cooldown from the ordinary recommit delay was measured, not guessed: charging the full 1.5s for every drop left the stance down for 8 of 11 landed hits against a 1.3-2.4s attack cooldown — the punish window had become the default state. The drop is only stamped when mitigation was actually live, so a stance torn down inside its own raise delay (measured as short as 41ms) protects nothing and costs nothing.
Contract notes¶
UEnemyBlockAbilityis a sibling ofUBlockAbility, not a subclass: the player ability carries input bindings, parry windows, spam scaling and player-component lookups the enemy must not inherit. The enemy version is minimal — apply the blocking-state GE, swap the ALS overlay, drain the pool, break on empty. No parry in V1.ServerOnly/InstancedPerActor. The guard pool, cooldown stamps and raise timer are all server-side; clients converge purely through the replicatedState.BlockingGE and the ALS overlay.- The BT holds the stance rather than pulsing it — see Enemy AI for the tree grammar and the deadlock it avoids.
- Known gap: the guard pool has no presentation at all — no bar, no strain audio, no distinct break cue. A pool that drains correctly and one that never drains look identical from behind the camera, which is exactly why the original inertness survived a whole feature.
Stat Resolution: Weapon vs Shield¶
Block stats are not global — they live on the equipped gear's FWeaponFragment (Combat|Block category). Resolution prioritises a shield:
GetBlockWeaponFragment():
left-hand item is a Shield? --> use the SHIELD's FWeaponFragment
otherwise --> fall back to current weapon (right, then left, then unarmed)
This lets a sword-and-board loadout block with the shield's superior stats while the sword still drives attacks. Each FWeaponFragment exposes six block properties:
| Property | Default | Meaning |
|---|---|---|
BlockDamageReduction |
0.5 | Fraction of damage negated on a funded block (chip = 1 − this) |
BlockPoiseDamageReduction |
0.4 | Fraction of poise damage negated while blocking |
BlockEfficiency |
1.0 | Higher = less stamina spent per blocked hit |
BlockAngle |
120° | Frontal arc within which attacks can be blocked |
BlockStaminaCostRatio |
0.5 | Fraction of the hit converted into stamina cost |
BlockMovementSpeedMultiplier |
0.5 | Movement speed while blocking (via SetByCaller) |
The block overlay is no longer a weapon-fragment property. It is resolved from the active
FWeaponSetConfig(BlockOverlayMode) via the equipment/weapon-set system, so overlay choice (e.g. shield-block vs unarmed-block pose) stays centralized with the rest of the overlay configuration.Which pose each weapon set blocks with (
WeaponSetConfig): one-hand sword and dual wield use the sword block (Als.OverlayMode.Blocking.Sword), sword and shield the shield block (Als.OverlayMode.Blocking.Shield), the two-handed hammer its own block with the haft held across the body (Als.OverlayMode.Blocking.Hammer,AB_Als_Block_Hammer), the other two-handers and unarmed the shared block (Als.OverlayMode.Blocking). Dual wield has no block pose of its own: the sword block was made for one sword, so the off hand comes up beside the main hilt and the second sword hangs point-down next to the first.
Unblockable & Guard-Breaking Attacks¶
| Tag | Effect on blocking |
|---|---|
Attack.Unblockable |
The attack ignores block and parry entirely; full damage passes through. |
Attack.Unparryable |
The attack can be blocked but never parried. |
Attack.GuardBreaker |
Marks an attack meant to deal extra stamina damage / break guard. Nothing reads it yet. |
These belong to one attack, not to the attacker. An enemy ability stamps them on each hit's damage spec as asset
tags (UEnemyAbility::AttackTags, a combo step's FEnemyComboStepParams::AttackTags, and
UBossComboAbility::FinisherAttackTags while the empowered finisher plays), and HandleIncomingDamage reads them
from that spec into FEffectProperties::AttackTags. A tag the attacker merely carries changes nothing, so a boss
whose finisher is Unblockable can still have its other swings blocked and parried. The same tags pick the attack's
warning: an Unblockable attack always warns with GameplayCue.Combat.Telegraph.Unblockable (a red body flash and a
deep sting), whatever its step authored. See ImplementationDocs/Telegraphs.plan.md.
Sourceless damage (DoTs, ground hazards, environmental) is inherently unblockable because ProcessBlockDamage requires a source avatar actor to consider the hit blockable.
Stamina & Normalization¶
Stamina cost per blocked hit is derived from the hit size relative to the defender's health pool, not the raw damage number:
StaminaCost = (RawDamage / MaxHealth) * MaxStamina * BlockStaminaCostRatio / max(BlockEfficiency, 0.1)
A hit worth X% of max health costs X% of max stamina scaled by the weapon's cost ratio and efficiency. This form is
the player's cost only — the enemy guard pool uses a different unit entirely, resolved through
GetBlockResourceCost so the two can never mix again. Poise is not normalized at all: it is flat poise units on both
sides, and is reduced by BlockPoiseDamageReduction while a block is held. See Poise System.
Public Contracts¶
UBlockAbility — Configuration¶
| Property | Purpose |
|---|---|
MinimumStaminaToBlock |
Minimum stamina required to start a block |
BlockingStateEffectClass |
GE granting State.Blocking + movement-speed SetByCaller |
GuardBreakEffectClass |
GE applied on guard break (State.GuardBroken stagger) |
StaminaCostEffectClass |
SetByCaller GE used to spend stamina (shared with melee) |
StaminaRecoveryBlockDuration |
How long stamina recovery is blocked after a blocked hit |
UBlockAbility — Parry Configuration¶
| Property | Default | Purpose |
|---|---|---|
ParryWindowEffectClass |
GE_ParryWindow |
HasDuration GE granting State.Parrying; duration set dynamically on the spec. |
ParryWindowDuration |
0.25s | Length of the parry window from block activation (200ms design target + latency pad). |
ParryWhiffEffectClass |
GE_ParryWhiff |
HasDuration GE granting State.ParryWhiff; duration set dynamically on the spec. |
ParrySpamResetTime |
0.5s | Old rule only: a re-press within this time of the previous release halves the next window. |
ParryPoiseDamageFraction |
0.5 | Poise damage dealt to the parried attacker, as a fraction of their max poise. |
NormalTierParryPoiseDamageFraction |
1.0 | The same against an ordinary (Normal tier) enemy; at 1 one parry breaks its stance. |
ParryOpeningReach |
450 cm | An enemy further away than this does not open on a parry. |
Block Delegate¶
| Delegate | Payload | When Fired |
|---|---|---|
OnDamageBlocked (on UEternalAttributeSet) |
StaminaCost, bGuardBroken |
Inside ProcessBlockDamage after a hit is blocked or breaks guard. Bound server-side by UBlockAbility. |
OnDamageParried (on UEternalAttributeSet) |
RawDamage, FEffectProperties |
Inside ProcessParryDamage on a successful parry, before damage/procs are skipped. Bound server-side by UBlockAbility. |
FEffectProperties::bWasParriedis set on a successful parry (sibling tobWasBlocked), so downstream subscribers can distinguish a parried hit from a blocked one.
Gameplay Tags¶
| Tag | Purpose |
|---|---|
State.Blocking |
Present while the guard is up, which includes a released press until its window closes; gate checked by ProcessBlockDamage, ProcessParryDamage, and poise reduction. |
State.Parrying |
Present during the timed-parry window; required (with State.Blocking) for a parry. |
State.ParryWhiff |
Present during the recovery after a press that caught nothing; UBlockAbility::CanActivateAbility refuses the guard. |
State.GuardBroken |
Applied on guard break; stagger/vulnerability window. |
Overlay.Blocking |
Default block overlay mode (when no shield/weapon-set override). |
Attack.Unblockable |
On the hit's damage spec; bypasses block (and parry) entirely. |
Attack.Unparryable |
On the hit's damage spec; the attack can still be blocked but never parried. |
Attack.GuardBreaker |
On the hit's damage spec; meant to break guard / extra stamina damage (no reader yet). |
GameplayCue.Combat.Parry |
Executed cue on a successful parry; handled by UGameplayCueNotify_Parry. |
Effects.Parry |
UCombatEffectsManager config key for the parry impact (spark/ring/shake/hitstop). |
Event.Combat.Parried |
Sent to the attacker's ASC on a parry; AI reaction hook. |
Event.Combat.ParryLanded |
Sent to the defender's ASC on a parry; the trigger for retaliation procs that answer a parry. |
Input.Ability.Block |
Block input mapping (bound to Alt in the gameplay IMC). |
Ability.Action.Block |
Block ability action tag. |
SetByCaller.BlockMovementSpeed |
SetByCaller key for the movement-speed reduction magnitude. |
Source References¶
| ClassName / concept | Path/File |
|---|---|
UBlockAbility (block + parry lifecycle) |
Source/ProjectEternal/Public/Abilities/BlockAbility.h, Source/ProjectEternal/Private/Abilities/BlockAbility.cpp |
OnDamageParried / ApplyParryWindow (attacker reaction, anti-spam, cue) |
Source/ProjectEternal/Private/Abilities/BlockAbility.cpp |
ProcessBlockDamage / ProcessParryDamage / ResolveDefenseFragment |
Source/ProjectEternal/Private/AbilitySystem/EternalAttributeSet.cpp |
FEffectProperties::bWasParried, OnDamageParried delegate |
Source/ProjectEternal/Public/AbilitySystem/EternalAttributeSet.h |
UGameplayCueNotify_Parry (defender feedback routing) |
Source/ProjectEternal/Public/AbilitySystem/GameplayCues/GameplayCueNotify_Parry.h, Source/ProjectEternal/Private/AbilitySystem/GameplayCues/GameplayCueNotify_Parry.cpp |
GetBlockWeaponFragment() (shield-priority resolution) |
Source/ProjectEternal/Private/Combat/Components/PlayerCombatComponent.cpp |
Block-stat resolution virtuals (GetBlockWeaponFragment / GetBlockResourcePool / GetBlockResourceCost) |
Source/ProjectEternal/Public/Combat/Components/CombatComponent.h |
UEnemyBlockAbility (held guard stance, cooldown gate, deferred mitigation) |
Source/ProjectEternal/Public/Abilities/EnemyBlockAbility.h |
Guard pool, synthesized fragment, NotifyGuardDropped / CanRaiseGuard |
Source/ProjectEternal/Public/Combat/Components/EnemyCombatComponent.h |
FEnemyBlockConfig (all guard tuning) |
Source/ProjectEternal/Public/AI/Data/BaseEnemyDataAsset.h |
UGameplayCueNotify_PoiseParryReflect (attacker crack + stance reveal) |
Source/ProjectEternal/Public/AbilitySystem/GameplayCues/GameplayCueNotify_PoiseParryReflect.h |
FWeaponFragment (Combat\|Block properties) |
Source/ProjectEternal/Public/Inventory/Items/Fragments/ItemFragment.h |
FWeaponSetConfig::BlockOverlayMode |
Source/ProjectEternal/Public/Combat/Data/WeaponSetConfigDataAsset.h |
Poise reduction while blocking / ApplyPoiseDamageToActor |
Source/ProjectEternal/Private/Combat/Components/PoiseSystemComponent.cpp |
| Block / parry gameplay tags | Source/ProjectEternal/Public/EternalGameplayTags.h, Source/ProjectEternal/Private/EternalGameplayTags.cpp |
GE_ParryWindow content asset |
/Game/Gameplay/GameplayEffects/Block/GE_ParryWindow |
GC_Parry content asset (BP child of UGameplayCueNotify_Parry) |
/Game/Gameplay/GameplayCues/GC_Parry |
Related Systems¶
- Combat Overview — combat component hierarchy
- Poise System — stagger pressure and poise reduction while blocking
- Charge System — heavy/charged attacks pair with
Attack.GuardBreaker - Damage Execution — full incoming-damage pipeline that hosts
ProcessBlockDamage
Recent Changes¶
| Date | Change | Impact |
|---|---|---|
| 2026-11-04 | Attack.Unblockable / Attack.Unparryable are read from the hit's own damage spec (stamped by the attacking ability) instead of the attacker's owned tags. |
A property belongs to one attack; the Industrialist's empowered finisher is Unblockable while his other swings stay blockable and parryable. |
| 2026-03-12 | Introduced the Block System: hold-to-block via UBlockAbility, ProcessBlockDamage chip/stamina/guard-break pipeline, poise reduction while blocking, six block stats on FWeaponFragment, Alt-key input, and State.Blocking/State.GuardBroken/Overlay.Blocking/Attack.Unblockable/Attack.GuardBreaker tags. Stamina/poise costs are pool-normalized and applied through the GAS delegate pipeline. |
New core defensive mechanic. |
| 2026-03-25 | Removed BlockOverlayMode from FWeaponFragment; block overlay is now resolved from FWeaponSetConfig via the equipment/weapon-set system. |
Overlay config centralized; weapon fragments hold combat stats only. |
| 2026-03-25 | Added shield block support: dedicated shield block overlay and shield-priority stat resolution (GetBlockWeaponFragment) so an equipped shield supplies block stats over the main-hand weapon. |
Sword-and-board loadouts block with shield stats. |
| 2026-07-02 | Blocked-hit pre-block mirror (commit 0c52bcf5c): the Event.Combat.DamageReceived mirror now carries the pre-block magnitude, so chip reduction no longer weakens on-damaged / retaliation procs — a full block (chip = 0) still triggers retaliation (e.g. of Reprisal on-block Bleed via UOnDamagedAbility), scaled off the swing received rather than the chip. |
On-damaged / retaliation procs decoupled from chip mitigation. |
| 2026-10-30 | The parry window belongs to the press: a released guard stands until the window closes, a press that catches nothing pays a 0.25 s recovery, and a second press during a released window spends the first. Replaces the re-tap halving, which stays behind Eternal.Combat.Parry.TapWindow 0. |
A tap parries. Mashing finds more windows but leaves the player open for much longer. |
| 2026-10-30 | A parry got its own upper-body reaction (sword and shield), played from the cue and cut by any authored montage; a body recoil and a stronger zoom; and a 1.2 s opening on enemies in reach, except bosses. | The old reaction was a flinch the block overlay hid, so a parry looked like a block, and the enemy had no opening to punish. |
| 2026-11-13 | Dual wield blocks with the one-hand sword block pose instead of the shared (bare-armed) block; noted which pose each weapon set uses. | The shared pose was never made for held swords; the owner chose to reuse the sword block over a new pose. |
| 2026-07-27 | Enemy guard stance shipped (FSH-431): block-stat resolution moved to UCombatComponent virtuals, UEnemyBlockAbility as a sibling of UBlockAbility, a dedicated guard pool charged in received damage (GuardCapacityHealthFraction), regen held by any damage, a break that pays a stagger and returns half of capacity, and split re-raise / recommit timing. |
Enemies can hold a readable guard with a real punish window, without UEternalAttributeSet learning anything about enemies. |
| 2026-07-27 | Parry feedback folded to one channel per beat: the posture-crack replaces the metallic clang in Effects.Parry, and the attacker-side GameplayCue.Poise.ParryReflect adds the crack row plus a damage-less stance-bar reveal. |
The parry → reflect → break chain is legible for the first time; previously the reflected poise was completely invisible. |
| 2026-07-27 | Corrected stale poise claims: the parry reflect passes poise units directly (no health normalization), and poise is not pool-normalized on either side. | Docs match the poise decoupling shipped 2026-07-25. |
| 2026-06-17 | Documented the timed-block parry system (shipped 2026-06-10): a fresh block press grants State.Parrying via GE_ParryWindow; ProcessParryDamage (sharing the refactored ResolveDefenseFragment gate with block) fully negates an in-window hit, broadcasts OnDamageParried, and UBlockAbility::OnDamageParried staggers the attacker (poise gauge + Effects.HitReact + Event.Combat.Parried). Added anti-spam window shrink, the GameplayCue.Combat.Parry / Effects.Parry defender feedback path via UGameplayCueNotify_Parry, and the State.Parrying / Attack.Unparryable tags. |
New parry layer on top of blocking; reuses the existing Alt input and poise system. |