Commit f927f22957ba4fb5f45b4c4df8c21f17e6f8f040
1 parent
8a57b603
增加神器标签
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 |
-
mentioned in commit 52f8c5f05d0a531232a7dd7887becd2a77986aa1
-
mentioned in commit ba6d85edc65900830c7e168102d70671881b5808