A general weight function for inclined kinked cracks in a semi-plane