diff --git a/Characters/Character.cs b/Characters/Character.cs index 2f19b95..52a0285 100644 --- a/Characters/Character.cs +++ b/Characters/Character.cs @@ -167,7 +167,7 @@ public partial class Character : CharacterBody2D, IFaction // TODO: make PlayerRollState a CharacterRollState instead else if (state is State.Character.PlayerRollState rollState) { - Velocity *= 2; + Velocity *= rollState.VelocityModifier; //Velocity *= rollState.VelocityModifier; } } diff --git a/State/Character/PlayerRollState.cs b/State/Character/PlayerRollState.cs index ccb6e93..335b536 100644 --- a/State/Character/PlayerRollState.cs +++ b/State/Character/PlayerRollState.cs @@ -10,6 +10,8 @@ public partial class PlayerRollState : PlayerState private GpuParticles2D _particles; + public float VelocityModifier { get; set; } = 1.5f; + public PlayerRollState() { CanEnterWhileUsingItem = false;