【ID1018697】

【佩戴魂印】本地dev佩戴魂印没有战力上升提示了
dev_chengFeng
jiaoyangna 2021-10-08 19:17:59 +08:00
parent 7b88415339
commit 937096d445
3 changed files with 9 additions and 1 deletions

View File

@ -5083,6 +5083,7 @@ function this.UpgradeGodTreeRequest(num,func)
data.count = num
local msg = data:SerializeToString()
Network:SendMessageWithCallBack(MessageTypeProto_pb.UpgradeGodTreeRequest, MessageTypeProto_pb.UpgradeGodTreeResponse, msg, function(buffer)
NetManager.RequestUserForceChange(FormationTypeDef.FORMATION_NORMAL)
if func then
func()
end

View File

@ -109,7 +109,6 @@ end
--获取当前等级加成的属性
function this.GetCurLvPropertyValue(_type, _id, _lv)
local lvConfig = nil
LogGreen("_type:".._type.." _id:".._id.." _lv:".._lv)
--获取当前等级属性加成
for _, configInfo in ConfigPairs(jewerLevelUpConfig) do
if configInfo.Type == _type and configInfo.PoolID == _id and configInfo.Level == _lv then

View File

@ -87,6 +87,10 @@ function SacredTreePanel:Refresh(isSend)
SacredTreeManager.treeLevel = SacredTreeManager.treeLevel + 1
curTreeLevel = curTreeLevel + 1
EquipTreasureManager.ChangeTreeLv()
local herodata = FormationManager.GetFormationByID(FormationTypeDef.FORMATION_NORMAL)
for k,v in pairs(herodata.teamHeroInfos) do
HeroPropManager.SetDirtyByType(v.heroId, Hero_Prop_Type.EquipTreasure)
end
SacredTreeManager.OnPowerChange(oldPower)
end
self.isShortPress = false
@ -103,6 +107,10 @@ function SacredTreePanel:Refresh(isSend)
curTreeLevel = curTreeLevel + 1
local oldPower = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)
EquipTreasureManager.ChangeTreeLv()
local herodata = FormationManager.GetFormationByID(FormationTypeDef.FORMATION_NORMAL)
for k,v in pairs(herodata.teamHeroInfos) do
HeroPropManager.SetDirtyByType(v.heroId, Hero_Prop_Type.EquipTreasure)
end
SacredTreeManager.OnPowerChange(oldPower)
self:OnShow()
if curTreeLevel >= length then