Jump to content

Walter's slowdown rounds do not slow Spinning Celestial Champion Phase 2


Hornete
  • Fixed

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. Shoot Phase 2 Celestial champion with slowdown

3. Notice it doesnt slow down in spin attack.

  • Like 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


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

×
  • Create New...