User blog comment:Glowpixels/Question regarding Chain abilities/@comment-359947-20161003042328

Two notes on top of Rheinshiba's answer: You will get a stat boost even if the characters are not the same class, just not the ability. Also, characters with the same affiliation (Lake of Sand, Demons, Travelers such as Ring/Event characters, etc.) grant even more extra stats.