【坐骑、称号属性】需要在背包激活时就加属性,而不是必须要佩戴一次

dev_chengFeng
gaoxin 2021-11-05 17:12:35 +08:00
parent 0408157db2
commit 89957b0787
1 changed files with 3 additions and 0 deletions

View File

@ -559,6 +559,9 @@ function RewardItemSingleShowPopup:OnDestroy()
end
function this.WarPowerChange(oldPowerNum,type)
-- 设置脏数据
HeroPropManager.SetFuncPropDirty(Func_Prop_Type.PlayerExtra)
--
Game.GlobalEvent:DispatchEvent(GameEvent.Bag.OnBagShowWarPowerChange,oldPowerNum,type)
local newPowerNum = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)
if oldPowerNum ~= newPowerNum then