void TickUpdate() { if (sabotageTime > 0) { sabotageTime -= ComSat.tickRate; return; } if (!powerSink.Powered()) { return; } foreach (var p in ComSat.FindAllEntitiesWithinRadius <Projectile>(entity.position, radius, entity.team)) { if (p.kind != Projectile.Kind.KINETIC) { continue; } glowTime = glowLength; p.speed /= 30 * ComSat.tickRate; } }