remove print statements

issue-templates
John Montagu, the 4th Earl of Sandvich 2024-03-25 22:13:42 -07:00
parent 371b19c41e
commit a1165b08dc
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 0 additions and 3 deletions

View File

@ -43,15 +43,12 @@ public partial class CharacterStats : Node
public void AddStaggerDamage(float damage) public void AddStaggerDamage(float damage)
{ {
StaggerDamage.Value += damage * StaggerCoefficient; StaggerDamage.Value += damage * StaggerCoefficient;
GD.Print(StaggerDamage.Value);
if (StaggerDamage.Value >= MaxStagger) if (StaggerDamage.Value >= MaxStagger)
{ {
GD.Print(StaggerDamage.Value + " >= " + MaxStagger);
EmitSignal(SignalName.Stagger, 1); EmitSignal(SignalName.Stagger, 1);
} }
else else
{ {
GD.Print(StaggerDamage.Value + " < " + MaxStagger);
_shouldDecayStagger = false; _shouldDecayStagger = false;
_staggerDecayTimer.Stop(); _staggerDecayTimer.Stop();
_staggerDecayTimer.Start(1); _staggerDecayTimer.Start(1);