Fix some attacks stuck

This commit is contained in:
xeon 2024-02-10 22:28:57 +03:00
parent 7921b2149e
commit 50d47136ba

View file

@ -33,6 +33,8 @@ internal class PlayerEntity : EntityBase
attributeComponent.SetAttribute(EAttributeType.Life, 1000); attributeComponent.SetAttribute(EAttributeType.Life, 1000);
attributeComponent.SetAttribute(EAttributeType.LifeMax, 1000); attributeComponent.SetAttribute(EAttributeType.LifeMax, 1000);
attributeComponent.SetAttribute(EAttributeType.Lv, 1); attributeComponent.SetAttribute(EAttributeType.Lv, 1);
attributeComponent.SetAttribute(EAttributeType.AutoAttackSpeed, 10000);
attributeComponent.SetAttribute(EAttributeType.CastAttackSpeed, 10000);
} }
public override EEntityType Type => EEntityType.Player; public override EEntityType Type => EEntityType.Player;