Modified new gencost
Fixed damage adding issues