From these data it's easy to conclude the OB:C value for Pyramid,
1. Difference between before and after visiting: 7615
2. Difference between two spell IDs: 8192
Think I'm able to make a function for changing Pyramid spell and visitng status now
If I want to push a pyramid or other wog object to be visited by AI, I only need to change the OB:C value to one of the unvisited value on AI's turn, and change it back to the orignal value on human's. That sounds a bit inefficient though...