maybe it was true that magic was getting weaker as the star got nearer , or perhaps he 'd had the spell in his head for so long he had built up some kind of psychic immunity , but he found he could resist it .