generators hitpoints take damage like entities

Before 1 hit = 1 hitpoint lost, now apply weapons damage normally.