服务器列表
This commit is contained in:
parent
7de12f99e5
commit
bee5e556bf
@ -339,7 +339,7 @@ end
|
||||
|
||||
function SDKManager:getServerList(callback)
|
||||
local postData = {
|
||||
project_id = "b5",
|
||||
project_id = "b6",
|
||||
bundle_id = Platform:getIdentifier(),
|
||||
version = Platform:getClientVersion(),
|
||||
device_id = DeviceHelper:getDeviceId(),
|
||||
|
||||
@ -1231,7 +1231,9 @@ function BattleController:generateInstructions(skillEntity, elementType, lineCou
|
||||
end
|
||||
|
||||
function BattleController:exeInstructions(callback)
|
||||
if EDITOR_MODE then
|
||||
Logger.logHighlight("--------exeInstructions----------")
|
||||
end
|
||||
if not self.instructions or #self.instructions <= 0 then
|
||||
callback()
|
||||
return
|
||||
|
||||
@ -195,17 +195,14 @@ function BattleTeam:handleShield(reduceShield, unit)
|
||||
end
|
||||
|
||||
local needReedRefreshBuff = false
|
||||
local shieldNum = 0
|
||||
local currShieldBuff = self.shieldBuffList[1]
|
||||
while currShieldBuff do
|
||||
reduceShield = reduceShield + currShieldBuff.result
|
||||
if reduceShield > 0 then
|
||||
shieldNum = shieldNum + reduceShield - currShieldBuff.result
|
||||
currShieldBuff.result = reduceShield
|
||||
reduceShield = 0
|
||||
break
|
||||
else
|
||||
shieldNum = shieldNum - currShieldBuff.result
|
||||
currShieldBuff.result = 0
|
||||
for k, v in ipairs(self.buffList) do
|
||||
if v == currShieldBuff then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user