| | |
| | | } |
| | | |
| | | |
| | | //上阵属性:攻防血 |
| | | public int GetOnBattleAddPer() |
| | | //攻防血加成 |
| | | public int GetAddPer() |
| | | { |
| | | return qualityConfig.InitAddPer + qualityConfig.LVAddPer * (heroLevel - 1) + qualityConfig.BreakLVAddPer * breakLevel + qualityConfig.StarAddPer * heroStar; |
| | | } |
| | |
| | | return qualityConfig.InitAddPer + qualityConfig.LVAddPer * (1 - 1) + qualityConfig.BreakLVAddPer * breakLevel + qualityConfig.StarAddPer * heroStar; |
| | | } |
| | | |
| | | public int GetLineupLVAddPer() |
| | | { |
| | | return qualityConfig.LVAddPer * (heroLevel - 1); |
| | | } |
| | | // public int GetLineupLVAddPer() |
| | | // { |
| | | // return qualityConfig.LVAddPer * (heroLevel - 1); |
| | | // } |
| | | |
| | | public int GetLineupBreakLVAddPer() |
| | | { |
| | | return qualityConfig.BreakLVAddPer * breakLevel; |
| | | } |
| | | // public int GetLineupBreakLVAddPer() |
| | | // { |
| | | // return qualityConfig.BreakLVAddPer * breakLevel; |
| | | // } |
| | | |
| | | public int GetLineupStarAddPer() |
| | | { |
| | | return qualityConfig.StarAddPer * heroStar; |
| | | } |
| | | // public int GetLineupStarAddPer() |
| | | // { |
| | | // return qualityConfig.StarAddPer * heroStar; |
| | | // } |
| | | |
| | | //额外配置的百分百比加成 三围对应的 百分比加成 |
| | | public int GetSelfAddPer(int attrType) |