Mortie introduced him to soul magic through the night, it was tough but essentially it was just like wandless wordless magic. He also had a lot of time to himself, since his spirit-like body doesn't actually sleep. So meditating and feeling his magical core was simple enough.