Monster AI and Hod Sephiroth attack patch.

This is a merge between Grunt's Intelligent Pet Patch and dNetHack. It incorporates minimal fixes to allow the Intelligent Pet Patch to coexist with L's Monster Spells Patch. To wit: it converts all of the new spells to psi-bolt when cast by friendly creatures.

Mixed up in all of this is a small patch that causes the Hod Sepirah to use your equiped armor when calculating its AC.
Hod Sephirah Attack patch

Gives the Hod Sephirah a special attack that uses your wielded weapon to calculate the effect of the attack, in keeping with their mirror theme.

At the moment, there is no provision for ranged attacks.