Risk of Rain 2
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
199
Size
5.9KB

Drifter Sprint Fix

Makes Drifter's skill definitions stop cancelling themselves when you are sprinting.

The problem

If you play with any auto-sprint mod (RTAutoSprintEx, AutoSprint, ...), Drifter's utility skills get cancelled the moment they start, because the game marks those skills as canceledFromSprinting while the auto-sprint mod keeps you in the sprint state every frame.

Symptoms:

  • Pressing the utility skill does nothing / flashes and disappears
  • Throwing a bagged object flashes and is cancelled

What it does

At startup the plugin scans every SkillDef whose activation state is one of:

  • Repossess
  • RepossessExit / AimRepossess
  • TornadoSlam / ChargeTornadoSlam
  • EmptyBag / AimMagicBag / MagicBag

and sets:

canceledFromSprinting = false;
cancelSprintingOnActivation = false;

It re-scans once per second for the first 40 seconds so late-loaded content is covered too.

Notes

  • Client-side and safe to install without affecting other survivors.
  • No configuration needed.
  • Works with any auto-sprint mod, no dependency on them.

中文说明

装常态奔跑类 mod 后,漂泊者的抓取/投掷技能会因为处于冲刺状态被瞬间取消。这个补丁把这些技能的「冲刺取消」标记关掉,扫描 5 个相关状态,启动后每秒重扫一次共 40 秒。

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.