1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
|
|
| 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;
| }
|
| }
|
|