EnforcerTweaks
Tweaks and alternate skills for the vanilla Enforcer: Retaliation Protocol, Breacher Pump, Containment Field, and Bulwark Rage.Enforcer Tweaks
A mod for Risk of Rain 2 that adds alternate skills and small tweaks for the vanilla Enforcer.
Version: 1.1.0
Content
Passive: Retaliation Protocol
- New passive skill option for Enforcer.
- Outside Defensive Stance, unblocked hits build Retaliation stacks.
- In Defensive Stance, an unblocked hit removes 1 stack.
- Successful shield blocks give 2 stacks.
- Stacks reduce incoming damage, up to 15% at max stacks (configurable).
- Stacks decay after 6 seconds without combat, losing 3 stacks per second.
- Leaving Defensive Stance with at least 5 stacks releases a shockwave.
- The shockwave deals 200% base damage and has a 20m base radius.
- Each extra stack adds 75% damage and 5% radius.
- The shockwave also grants barrier equal to 0.5% max health per stack.
Passive tweak: Big Man
- Big Man now grants Hardening while the Enforcer is not blocking.
- Hardening gives 10% base damage reduction.
- The effect pauses during Defensive Stance.
Primary: Breacher Pump
- Normal: Fire a spread shotgun for 6x60% damage.
- Magazine size: 8 shells.
- Reload uses the normal RoR2 recharge indicator.
- Reload starts at 0.65s and gets faster as the magazine fills, down to 0.35s.
- Breacher Shot: Land every pellet on an enemy. Your next shotgun shot fires 10 pellets (1.65x) with normal damage (1.0x). It stays ready until you fire. A shotgun icon shows when it is ready.
- A normal shot has 6 pellets. A Breacher Shot has 10 pellets. All 6 or all 10 pellets must hit enemies. They can hit different enemies.
- Leaving Defensive Stance fully reloads the shotgun.
- Defensive Stance (Breaching Slug): Fire a big bouncing, piercing slug for 600% damage.
- Each damage hit makes the next hit deal 25% more damage.
- The projectile and hitbox use a fixed 2.0x size.
- Projectile speed is 70 m/s.
- Gravity is reduced to 25%, so it keeps a small arc instead of a high grenade arc.
- It can damage the same enemy every 0.5 seconds while the hitbox overlaps them.
- Ground hits bounce off the surface and create a shotgun-style impact effect.
- Lifetime: 3 seconds.
- When the lifetime ends, the slug releases a small kinetic burst with no damage.
- The slug has no blast radius.
- The last shot in a full magazine crits.
Primary: Focus Laser
- Focus Laser is a second primary skill variant. No config switch is needed.
- Hold primary fire to use 3-round beam bursts.
- Default ammo: 100.
- Each burst uses 3 ammo.
- Default gap after each burst: 0.1 seconds.
- Default time between rounds inside a burst: 0.08 seconds.
- Default range: 100m.
- Default damage: 35% per round.
- Enemy hits build up to 20 damage stacks and show the charge-status buff.
- The laser fully charges after about half of a clip.
- Each stack adds 5% damage. Full Overcharge gives double damage.
- While fully charged, every 8 shots heal 2% max health.
- The laser cannot recharge during a burst.
- Each recharge cycle adds 3 ammo every 0.24 seconds.
- Each burst starts a new laser state, so the raised gun pose plays again.
- Stacks hold for 1 second after the last hit.
- Stacks then decay to zero over 3 seconds.
- In Defensive Stance, the laser changes to a Smash.
- Smash uses the Rally Point leap and land movement.
- The leap is higher and faster so it can trigger Big Man.
- The landing uses the shield-slam shockwave VFX.
- Smash has 2 charges.
- Smash does not recharge.
- Entering Defensive Stance refills both charges.
- The shockwave deals 1000% damage in a 6m radius, applies Slow80 for 3 seconds, and knocks enemies back.
Special: Containment Field
- New special skill option for Enforcer.
- Leap and slam down, stunning enemies without damage and deploying a containment field.
- Field duration: 10 seconds (configurable).
- Enemies inside the field are Weakened.
- Allies inside the field show a ward-active status icon.
- Hitting enemies grants Revitalizing, shown by a medkit status icon.
- Revitalizing stacks up to 3 times. The first hit starts a 1.5 second timer. Each stack adds 2% max health to the heal at the end. Later hits do not reset the timer. Stacks can grow once every 0.3 seconds.
- Field effects linger for 2.5 seconds after leaving the field or after it ends.
Utility: Bulwark Rage
- New utility skill option for Enforcer.
- Release an AOE taunt on enemies within 30m horizontally and 75m vertically for 8 seconds.
- Four reddish-yellow shield plates orbit the player for 10 seconds.
- Each hit taken from a taunted enemy during Bulwark Rage reduces its cooldown by 5%, up to 50% after 10 hits.
- Gain +60% movement speed and +60% jump power for 10 seconds.
- Gain 10% base damage reduction.
- Each taunted enemy adds 1.5% damage reduction.
- Maximum 10 stacks, for 25% damage reduction.
- No barrier is granted.
- The 12-second cooldown starts after the 10-second duration ends.
Utility tweak: Ripcord Taunt
- Ripcord taunt duration is configurable.
- Default taunt duration: 6 seconds.
Keywords
- Revitalizing: Hitting enemies gives a Revitalizing stack, up to 3. The first hit starts a 1.5 second timer. Each stack adds 2% max health to the heal at the end. Later hits do not reset the timer. Stacks can grow once every 0.3 seconds.
- Breacher Shot: Land every pellet on an enemy. Your next shotgun shot fires 10 pellets (1.65x) with normal damage (1.0x). It stays ready until you fire. A shotgun icon shows when it is ready.
- Rage: Gain +60% movement speed and +60% jump power for 10 seconds.
- Hardening: Gain 10% base damage reduction for 10 seconds.
- Taunt: Afflicted enemies are forced to walk towards you and attack you, and have their armor reduced by 10.
Dependencies
- BepInExPack
- R2API Language
- R2API ContentManagement
- R2API RecalculateStats
- R2API ProcType
- R2API Addressables
- R2API Prefab
- TauntAggroFix (
FFTeam-TauntAggroFix)
Config
Config file: BepInEx/config/com.Personal.EnforcerTweaks.cfg
Main groups:
RetaliationContainmentBulwarkRageBreacherBreacherShotTaunt
Notes
- This mod tweaks the vanilla Enforcer.
- It uses existing game assets and no new custom art assets.
