Titan's vs Thunderstroke

Could you explain the +6 skill, 40 ias magic thing please? I don’t play zon so I don’t understand it but would like to know for future considerations.
Does that mean the dmg on the javelin does not matter? sorry I don’t understand