wave behavior and fixed explosion
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user