diff --git a/scripts/Contents/Characters/EnergyBlock.gd b/scripts/Contents/Characters/EnergyBlock.gd index efab7eb..a0d6a30 100644 --- a/scripts/Contents/Characters/EnergyBlock.gd +++ b/scripts/Contents/Characters/EnergyBlock.gd @@ -27,6 +27,7 @@ func attack(type: int): for bullet in BulletBase.generate(ComponentManager.getBullet("SwingSword"), self , getTrackingAnchor(), getTrackingAnchor().angle_to_point(currentFocusedPosition)): if bullet is SwingSwordBullet: await bullet.destroied + await TickTool.millseconds(1000) elif type == 1: for bullet in BulletBase.generate(ComponentManager.getBullet("Broom"), self , getTrackingAnchor(), getTrackingAnchor().angle_to_point(currentFocusedPosition)): if is_instance_valid(currentBroom): break @@ -38,6 +39,7 @@ func attack(type: int): await chargeUp() trySprint() currentBroom.animator.play("attack") + await TickTool.millseconds(1000) elif type == 2: for i in 3: for bullet in BulletBase.generate(ComponentManager.getBullet("BroomGun"), self , position, position.angle_to_point(currentFocusedPosition)): @@ -51,6 +53,7 @@ func attack(type: int): bullet.animator.play("rotate") await bullet.destroied fields[FieldStore.Entity.MOVEMENT_SPEED] /= 3 + await TickTool.millseconds(4000) elif type == 4: BulletBase.generate(ComponentManager.getBullet("BroomBoomerang"), self , position, position.angle_to_point(currentFocusedPosition)) elif type == 5: