using Godot; using Newlon.Components; namespace Newlon.Systems.Effects; [GlobalClass] public partial class PermanentSpeedEffect : Effect { [Export] public float Multiplier; public override void Enter(Node target) { if (target is Entity entity) { entity.LocalTimescale *= Multiplier; } } public override void Exit(Node target) { } public override void Process(Node target) { } }