attack_points function completed

function takes two params and returns point value