fix non-custom or magic damage causes returning improper damages