Magic damage to AI is now reduced to 1/3, when the equipped weapon is damaged/unusable. GetItemPrototype() revised to allow the _ITEM_DATA to be returned to the caller as well, to save additional lookups.