Commit d1944a2ba4cafbec7f4a66d3b25d85a59e6199b8
1 parent
5b0a99f7
fix: 修复 赞誉 加上固有提升数
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/models/RolePlugin.lua
... | ... | @@ -2908,7 +2908,7 @@ function RolePlugin.bind(Role) |
2908 | 2908 | local levelBnous = self:getLevelBnous() |
2909 | 2909 | |
2910 | 2910 | local bonus = self:bonusMerged(towerBnous[SystemBnousType.CrusadeTask], levelBnous[SystemBnousType.CrusadeTask]) |
2911 | - return self:getDeltaValue(bonus, value) | |
2911 | + return self:getDeltaValue(bonus, value) +(bonus[0] or 0) | |
2912 | 2912 | end |
2913 | 2913 | |
2914 | 2914 | function Role:getBnousDiner(type, value, flag) |
... | ... | @@ -3014,7 +3014,7 @@ function RolePlugin.bind(Role) |
3014 | 3014 | function Role:getBnousDismantlingImproved(value) |
3015 | 3015 | local levelBnous = self:getLevelBnous() |
3016 | 3016 | local result = levelBnous[SystemBnousType.DismantlingImproved] or {} |
3017 | - return self:getDeltaValue(result, value) | |
3017 | + return self:getDeltaValue(result, value) + (result[0] or 0) | |
3018 | 3018 | end |
3019 | 3019 | |
3020 | 3020 | function Role:getBnousDaily() | ... | ... |