I doubt it was a rat - maybe that NPC spawns there, or perhaps was lured by a player. We have two pets in the game right now: a Groffel, and a Yulbar. They are both of magical origins, so you'll have to talk to someone who knows the six ways (and perhaps do them a favor) to get your hands on one. It does not involve any character skill.