llms.txt: machine-readable documentation index. Markdown version of this page is also available.

Ninja Bear Studio Plugins Help

Block, Evade, and Parry

Use the same incoming swing to test three defensive moves. Start with two melee combatants facing one another and enough stamina for repeated attempts.

Hold a block

  1. Grant the defender CombatAbility_Block. On guard pressed, activate it. On release, cancel the active block ability so its blocking effect ends. Enable Block mitigation in the defender's Defense Data.

  2. For a predictable first test, set Block Chance to 1 and Block Mitigation to 0.5. Use an ordinary blockable hit from the front with sufficient stamina and no other reductions. The held block should prevent half the damage unless a configured block limit caps it.

Protect only part of a dodge

  1. Grant CombatAbility_Evade and assign a dodge montage through its animation provider. Add an Invulnerability notify state over the protected frames. Include Invulnerability in Defense Data before Block. Keep the test hit on target so you can tell a protected hit from a swing that misses.

  2. Use BindToBlockingStateChangedDelegate and BindToInvulnerabilityStateChangedDelegate on the defense manager for a training indicator that shows when each protection is active.

Create an opening for a counter

  1. Put a Parry Window notify state on the attacking opponent's swing, covering the frames when the swing can be parried. On the defender, grant CombatAbility_Parry with a parry montage. Put a Parry Scan notify state on the defender's contact frames. Set its mesh source, socket, shape, and weapon query as for the working melee scan. Keep the default parry window tag for the first test.

  2. Keep the parry hit effect on the Parry ability. Have the combatants face each other and ensure the scan reaches the attacker. For a riposte, include the Stagger outcome on the opponent and grant its Stagger ability. Give the opponent positive Poise and make the parry build enough poise damage to reach that threshold, or add Combat.Damage.Modifier.ForceStagger to the parry hit effect for this test. Give the defender a positive Riposte Window Duration. Grant the defender CombatAbility_Riposte with a follow-up melee montage and scan. Activate it while the defender has Combat.Opportunity.Riposte.

Bind BindToRiposteWindowChangedDelegate on the parry manager to show the counter prompt only while the opportunity lasts. The stock manager opens the riposte opportunity when the parry produces a staggering hit. Use IsParryScanAvailable on the melee source to allow a specific weapon or stance to perform a custom parry scan. To add feedback when the parry lands, override HandleMeleeGameplayEffectApplied on the Parry ability in Blueprint or C++, keeping the parent call.

Try It in Play

Take one unguarded hit for comparison. Hold guard for the next, then release it. Dodge so the hit lands inside the invulnerability window, then repeat just after it closes. Finally, parry inside the opponent's vulnerable frames, use the riposte while the opportunity is active, and try again after it expires.

25 November 2026