[战斗]======被动327修改
parent
531bada120
commit
9b40cb5314
|
@ -7852,7 +7852,7 @@ local passivityList = {
|
||||||
if not list or #list ==0 then
|
if not list or #list ==0 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
list=BattleUtil.SortByRage(list,0)
|
list=BattleUtil.SortByRage(list,1)
|
||||||
-- list[1]:CastSkill()
|
-- list[1]:CastSkill()
|
||||||
BattleLogic.InsertSkillRole(list[1])
|
BattleLogic.InsertSkillRole(list[1])
|
||||||
end
|
end
|
||||||
|
|
|
@ -104,10 +104,10 @@ local function _CompareCondition(type, condition, value)
|
||||||
-- LogError("DynamicActivityManager.curLevel=="..DynamicActivityManager.curLevel.." condition=="..condition)
|
-- LogError("DynamicActivityManager.curLevel=="..DynamicActivityManager.curLevel.." condition=="..condition)
|
||||||
return DynamicActivityManager.curLevel >= condition
|
return DynamicActivityManager.curLevel >= condition
|
||||||
elseif type==11 then
|
elseif type==11 then
|
||||||
if condition==0 or condition==1 then
|
if condition==0 then
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
local id = 2200 + condition
|
local id = 2200 + condition+1
|
||||||
LogError("condition===="..condition.." id=="..id)
|
LogError("condition===="..condition.." id=="..id)
|
||||||
local isBuy = OperatingManager.IsBuyGift(id)
|
local isBuy = OperatingManager.IsBuyGift(id)
|
||||||
if isBuy then
|
if isBuy then
|
||||||
|
|
Loading…
Reference in New Issue