using UnityEngine; namespace ProjectI.Builds { [CreateAssetMenu(menuName = "ProjectI/Passive Behaviors/Tempo")] public sealed class TempoBehavior : PassiveBehaviorDefinition { public float bonusPercent = .15f; public double duration = 3; public override void OnReloadCompleted(PassiveEventContext context) { if (context.Allowed && context.ReloadAddedAmmo) context.Effects.BoostMovement(context.Now, bonusPercent, duration,context.SourceId); } } }