added mystic ally logic