| | |
| | | } |
| | | } |
| | | |
| | | public static int[] inheritAttrs = playerPropertyDict[5].ToArray(); //攻防血 继承的百分比 |
| | | public static int[] basePerAttrs = playerPropertyDict[6].ToArray(); //攻防血 加成百分比 |
| | | private static int[] m_inheritAttrs;//攻防血 继承的百分比 |
| | | public static int[] inheritAttrs |
| | | { |
| | | get |
| | | { |
| | | if (m_inheritAttrs.IsNullOrEmpty()) |
| | | { |
| | | if (playerPropertyDict.ContainsKey(5)) |
| | | { |
| | | m_inheritAttrs = playerPropertyDict[5].ToArray(); |
| | | } |
| | | } |
| | | return m_inheritAttrs; |
| | | } |
| | | } |
| | | |
| | | private static int[] m_basePerAttrs; //攻防血 加成百分比 |
| | | public static int[] basePerAttrs |
| | | { |
| | | get |
| | | { |
| | | if (m_basePerAttrs.IsNullOrEmpty()) |
| | | { |
| | | if (playerPropertyDict.ContainsKey(6)) |
| | | { |
| | | m_basePerAttrs = playerPropertyDict[6].ToArray(); |
| | | } |
| | | } |
| | | return m_basePerAttrs; |
| | | } |
| | | } |
| | | |
| | | public const int baseType = 1; //基础属性 |
| | | public const int fightType = 2; //战斗属性 |