Merge branch 'dev' of git.juzugame.com:b6-client/b6-lua into dev
This commit is contained in:
commit
2f720561f5
@ -511,9 +511,6 @@ function BattleController:enterNextWave()
|
||||
self.eliminateCount = 0
|
||||
|
||||
self.isBossWave = self.defTeam:getMainUnit().unitEntity:getIsBoss()
|
||||
if self.isBossWave then
|
||||
self:showBuffTips(BattleConst.SIDE_DEF, true)
|
||||
end
|
||||
self:postFightStart()
|
||||
self:enterRoundBegin()
|
||||
end
|
||||
|
||||
@ -2046,6 +2046,7 @@ function BattleUI:showBossEnterAni(bornTime, bossName, monsterComp, callback)
|
||||
if callback then
|
||||
callback()
|
||||
end
|
||||
self.battleController:showBuffTips(GConst.BattleConst.SIDE_DEF, true)
|
||||
return
|
||||
end
|
||||
self.bossEnterNode:setVisible(true)
|
||||
@ -2066,6 +2067,7 @@ function BattleUI:showBossEnterAni(bornTime, bossName, monsterComp, callback)
|
||||
if callback then
|
||||
callback()
|
||||
end
|
||||
self.battleController:showBuffTips(GConst.BattleConst.SIDE_DEF, true)
|
||||
end)
|
||||
self.bossEnterAniSeq:AppendInterval(bornTime)
|
||||
self.bossEnterAniSeq:AppendCallback(function()
|
||||
|
||||
@ -32,15 +32,16 @@ function BattleBuffEntity:getHostSkill()
|
||||
end
|
||||
|
||||
function BattleBuffEntity:getDesc()
|
||||
if self.desc == nil then
|
||||
local buff18NInfo = I18N:getConfigWithOtherKey("buff", "name")[self.name]
|
||||
if buff18NInfo then
|
||||
self.desc = buff18NInfo.desc or GConst.EMPTY_STRING
|
||||
else
|
||||
self.desc = GConst.EMPTY_STRING
|
||||
end
|
||||
end
|
||||
return self.desc
|
||||
return GFunc.getBuffDesc(self:getName(), self:getEffectNum())
|
||||
-- if self.desc == nil then
|
||||
-- local buff18NInfo = I18N:getConfigWithOtherKey("buff", "name")[self.name]
|
||||
-- if buff18NInfo then
|
||||
-- self.desc = buff18NInfo.desc or GConst.EMPTY_STRING
|
||||
-- else
|
||||
-- self.desc = GConst.EMPTY_STRING
|
||||
-- end
|
||||
-- end
|
||||
-- return self.desc
|
||||
end
|
||||
|
||||
function BattleBuffEntity:getBuffType()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user