I don't think you really understand how this works.
Basically, AMXX will provide you with the information you need to change things, but in order to formally change them you need to call natives.
In this case, you are just copying the information and then leaving it, thus your calculations are not needed. In order to reduce damage, you would have to change the Damage event's parameters, and also call set_user_health (or equivalent).