Commit 53ce785350170792de105f9e2a67c831b4457d0a

Authored by zhouhaihai
1 parent aff85733

队长技能 不失效

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/adv/AdvPlayer.lua
@@ -670,7 +670,7 @@ function Player:effectBattleBuff() @@ -670,7 +670,7 @@ 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 - if not buff.buffData.classify:sismember(7, " ") then -- 神器buff 不会清除 673 + if not buff.buffData.classify:sismember(7, " ") and not buff.buffData.classify:sismember(8, " ") then -- 神器buff 不会清除 队长技
674 buff:uncover() 674 buff:uncover()
675 end 675 end
676 end 676 end