can calculate damage