stunnable targets on hit
This commit is contained in:
@@ -2467,7 +2467,7 @@ public partial class PlayerController : CharacterBody3D, IForgeEntity, ICueHandl
|
||||
// else HeadSystem.OnHit();
|
||||
// var streamName = isParry ? "parry" : "attacks";
|
||||
_audioStream.SwitchToClipByName("dash");
|
||||
IsInvincible = true;
|
||||
OnHitInvincibility();
|
||||
|
||||
var plannedDashLocation = _targetLocation + Vector3.Down*_playerHeight/2;
|
||||
// var enemySurfaceQuery = PhysicsRayQueryParameters3D.Create(HeadSystem.GlobalPosition, plannedDashLocation, DashSystem.DashCast3D.CollisionMask);
|
||||
@@ -2511,7 +2511,7 @@ public partial class PlayerController : CharacterBody3D, IForgeEntity, ICueHandl
|
||||
{
|
||||
disableable.Disable();
|
||||
}
|
||||
IsInvincible = false;
|
||||
// IsInvincible = false;
|
||||
_playerState.SendEvent("attack_finished");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user