public void AddProjectileSpeedMultiplier(float increase, float duration) { rangeMultiplier += increase; rangeMultiplierTimer += duration; activeModifiers.Add(PropertyModifier.ProjectileSpeed); OnPropertyApplied?.Invoke(PropertyModifier.ProjectileSpeed); }
public void AddFireRateMultiplier(float increase, float duration) { fireRateMultiplier += increase; fireRateMultiplierTimer += duration; activeModifiers.Add(PropertyModifier.FireRate); OnPropertyApplied?.Invoke(PropertyModifier.FireRate); }
public void AddProjectileDamageMultiplier(float increase, float duration) { projectileDamageMultiplier += increase; projectileDamageMultiplierTimer += duration; activeModifiers.Add(PropertyModifier.Damage); OnPropertyApplied?.Invoke(PropertyModifier.Damage); }