Sign in to follow this  

Walter's Slowdown rounds do not slow Celestial Champion Phase 2 Spin


Hornete
  • Pending

Walter's slowdown rounds do not slow the Celestial Champion in phase 2 when it's doing it's spin attack.
 

local spin_speed = TUNING.ALTERGUARDIAN_PHASE2_SPIN_SPEED
local target = inst.sg.statemem.target
if target ~= nil and target:IsValid() and target.components.locomotor ~= nil then
    spin_speed = math.max(spin_speed, target.components.locomotor:GetRunSpeed()) - 0.25
    spin_speed = math.min(spin_speed, 35)
end
inst.sg.statemem.spin_speed = spin_speed
inst.Physics:SetMotorVelOverride(spin_speed, 0, 0)

The calculations in stategraphs/SGalterguardian_phase2.lua, lines 325-332 fail to take into account the speed multiplier of the Celestial Champion.

Changing line 328 to

spin_speed = math.max(spin_speed, target.components.locomotor:GetRunSpeed() * inst.components.locomotor:GetSpeedMultiplier()) - 0.25

could work.
 


Steps to Reproduce

1. Play Walter
2. Spawn phase 2 of the Celestial Champion
3. Fire slowdown round
4. Notice it does not slow down during it's spin.

Sign in to follow this  


User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now