【战斗力】修复部分数据刷新不及时
parent
a67e3226ce
commit
ed3f38f9cb
|
|
@ -351,29 +351,33 @@ function this.RefreshHeroProp(dId)
|
|||
LogPinkTable_Prop(propList)
|
||||
|
||||
-- 条件属性
|
||||
if conList then
|
||||
this.SetConditionData(dId, powerType, conList)
|
||||
LogPink_Prop("con")
|
||||
LogPinkTable_Prop(conList)
|
||||
if not conList then
|
||||
conList = {}
|
||||
end
|
||||
this.SetConditionData(dId, powerType, conList)
|
||||
LogPink_Prop("con")
|
||||
LogPinkTable_Prop(conList)
|
||||
-- 对编队中其他人的数据
|
||||
if teamPropList then
|
||||
this.SetTeamData(dId, powerType, teamPropList)
|
||||
LogPink_Prop("team")
|
||||
LogPinkTable_Prop(teamPropList)
|
||||
if not teamPropList then
|
||||
teamPropList = {}
|
||||
end
|
||||
this.SetTeamData(dId, powerType, teamPropList)
|
||||
LogPink_Prop("team")
|
||||
LogPinkTable_Prop(teamPropList)
|
||||
-- 对编队中其他人的数据
|
||||
if conTeamList then
|
||||
this.SetConditionTeamData(dId, powerType, conTeamList)
|
||||
LogPink_Prop("conteam")
|
||||
LogPinkTable_Prop(conTeamList)
|
||||
if not conTeamList then
|
||||
conTeamList = {}
|
||||
end
|
||||
this.SetConditionTeamData(dId, powerType, conTeamList)
|
||||
LogPink_Prop("conteam")
|
||||
LogPinkTable_Prop(conTeamList)
|
||||
-- 减益属性
|
||||
if dePropList then
|
||||
this.SetDePropData(dId, powerType, dePropList)
|
||||
LogPink_Prop("deprop")
|
||||
LogPinkTable_Prop(dePropList)
|
||||
if not dePropList then
|
||||
dePropList = {}
|
||||
end
|
||||
this.SetDePropData(dId, powerType, dePropList)
|
||||
LogPink_Prop("deprop")
|
||||
LogPinkTable_Prop(dePropList)
|
||||
--
|
||||
this.IsHeroDirty[dId][powerType] = false
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue