I'm also looking for an event that fires when an NPC is hit, which can tell me how much damage was done. I'm guessing ObjectReference-&--#62;OnHit() would work, but as far as I can tell it doesn't show how much damage was dealt by the hit.
Also, is there a way to have a script apply to every object of a certain type in the game, without modifying each and every object?
I'm trying to make a mod which will have weapons and armor degrade as they're used, requiring the player to repair their gear (in exacly the same way that they upgrade them now). I would like this to apply to all gear in the game, but I would be satisfied if it only applied to the player's gear, though it must be independant of what that gear is.
