Commit af9073e76a2a0a2d0e3f874cdd5bc9cffeac9807
1 parent
650e90d5
增加神器标签
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/adv/AdvPlayer.lua
| @@ -670,7 +670,9 @@ function Player:effectBattleBuff() | @@ -670,7 +670,9 @@ function Player:effectBattleBuff() | ||
| 670 | for _, buff in ipairs(self.buffs) do | 670 | for _, buff in ipairs(self.buffs) do |
| 671 | if not buff:isHide() and (buff:getType() == Buff.BATTLE_BUFF or buff:getType() == Buff.BATTLE_PASSIVE) then | 671 | if not buff:isHide() and (buff:getType() == Buff.BATTLE_BUFF or buff:getType() == Buff.BATTLE_PASSIVE) then |
| 672 | buff:effect() | 672 | buff:effect() |
| 673 | - buff:uncover() | 673 | + if not buff.buffData.classify:sismember(7, " ") then -- 神器buff 不会清除 |
| 674 | + buff:uncover() | ||
| 675 | + end | ||
| 674 | end | 676 | end |
| 675 | end | 677 | end |
| 676 | end | 678 | end |