【战斗力】修复部分设置人物属性全部为脏数据时没有设置战斗力脏数据
parent
f929826eba
commit
eacf753e55
|
|
@ -424,6 +424,8 @@ end
|
|||
-- 将整个人置为脏数据
|
||||
function this.SetHeroDirty(dId)
|
||||
this.IsHeroDirty[dId] = {}
|
||||
-- 战斗力需要重新计算
|
||||
HeroPowerManager.SetPowerDirty(dId)
|
||||
end
|
||||
|
||||
|
||||
|
|
@ -442,9 +444,6 @@ function this.SetConditionData(dId, powerType, condList)
|
|||
end
|
||||
this.IsConPropDirty[dId][powerType] = true
|
||||
this.IsConPropDirty[dId].isDirty = true
|
||||
|
||||
-- 战斗力需要重新计算
|
||||
HeroPowerManager.SetPowerDirty(dId)
|
||||
end
|
||||
|
||||
function this.SetConditionProp(dId, powerType, condProp)
|
||||
|
|
@ -518,8 +517,6 @@ function this.SetTeamData(dId, powerType, propList)
|
|||
this.IsTeamPropDirty[dId] = {}
|
||||
end
|
||||
this.IsTeamPropDirty[dId].isDirty = true
|
||||
-- 战斗力需要重新计算
|
||||
HeroPowerManager.SetPowerDirty(dId)
|
||||
end
|
||||
|
||||
-- 刷新编队属性
|
||||
|
|
|
|||
Loading…
Reference in New Issue