You should have posted in Suggestions/Requests if you are not trying to code this yourself.
Here's what I just said, see if you can figure out where it goes.
PHP Code:
//Make this global (placed towards the top of the plugin, delete xDamage in the xOnDamage function
new xDamage[ MAX_PLAYERS + 1 ]
//Replace
xDamage = read_data(2)
//with
xDamage[ xAttacker ] += read_data( 2 )
__________________