The Magicks of Megas-Tu

The Enterprise travels to the center of the galaxy only to discover themselves sucked into a dimension where the laws of time and space no longer apply, and "magic" functions for those capable of grasping its fundamentals. Stopping at Megas-Tu, a planet where magic and witchcraft are the norm, the crew finds their guide is Lucien, who is Lucifer of Earth mythology.