Grazing sounds

This commit is contained in:
Marco 2025-04-01 16:13:54 +02:00
commit 6f92162d5a
5 changed files with 48 additions and 2 deletions

View file

@ -39,7 +39,8 @@ public partial class PlayerGrazingModule : PlayerArea2DModule
GD.Print("Grazed");
bullet.IsGrazed = true;
bullet.Graze();
//bullet.IsGrazed = true;
Shield.CurrentResource += bullet.BulletInfo.GrazeValue;
// check if it's grazed
// check if it's grazeable