wave behavior and fixed explosion

This commit is contained in:
2026-05-16 19:48:48 +02:00
parent b3ae3e37ea
commit 1898d91a28
27 changed files with 355 additions and 21 deletions

View File

@@ -50,7 +50,8 @@ public partial class Explosion : Area3D, IProvide<CuesManager>
foreach (var body in bodies)
{
if (body is not IForgeEntity target) continue;
foreach (var ability in ForgeEntityNode.Abilities.GrantedAbilities.Where(ability => ability.CanActivate(out _, target)))
foreach (var ability in ForgeEntityNode.Abilities.GrantedAbilities.Where(ability =>
ability.CanActivate(out _, target)))
ability.Activate(out _, target, Damage);
}
QueueFree();