Jump to content

Cause of Slower Attack Speed(?)


Hornete
  • Pending

Hi. In the recent beta it seems attack speed has been slowed down by a frame, causing issues for some people's gameplay. I am not fully concrete in this theory, however from my testing I found that the first update call upon a stategraph entering a new state has a dt of 0 seconds.

image.png

Performing a hack to set the dt to 'FRAMES' if it is 0 has lead to attack speed going back to it's original speed(13-14 FRAMES/.43-.46 seconds). It seems a frame is being potentially being lost in the update function when entering a new state.

Spoiler

image.png

However I do not know if this behaviour is recent, or if it has always been this way, and the attack speed issue is seperate, I have not done vigorous testing but perhaps my limited testing can help in some way to find the issue. Cheers and thanks for the updates and patches.

 


Steps to Reproduce

1. To test attack speed (Thanks @Crestwave!)

_StartAttack = ThePlayer.components.combat.StartAttack ThePlayer.components.combat.StartAttack = function(self, ...) TheNet:Announce(GetTime() - (self.laststartattacktime or 0)) _StartAttack(self, ...) end

 

  • Like 5
  • Thanks 1



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

×
  • Create New...