remove print statements
parent
371b19c41e
commit
a1165b08dc
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue