Code:
scn ObjectScript

short Slot
long Count
float LastHealth
ref Base

Begin Gamemode
 set Base to GetBaseObject
 if ( Player.GetEquipped Base )
  set Slot to GetEquipmentSlot
  if ( Player.GetEquippedCurrentHealth Slot < LastHealth )
   set Count to ( Count + 1 )
  endif
  set LastHealth to Player.GetEquippedCurrentHealth Slot
 endif
End