【坐骑、称号属性】需要在背包激活时就加属性,而不是必须要佩戴一次
parent
0408157db2
commit
89957b0787
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue