public partial class HeroInfo { protected int GetIFByInheritFetterPercent(HeroAttrType attrType) { // YYL TODO int total = 0; for (int i = 0; i < fetterInfoList.Count; i++) { HeroFetterInfo fetterInfo = fetterInfoList[i]; total += fetterInfo.GetFetterAttr(attrType); } return total; } }