Merge branch 'TCX_LongZhu' of http://192.168.1.21:3000/root/miduo_client into TCX_LongZhu
commit
eacfe6b251
|
@ -339,6 +339,7 @@ function this.GetFormationPower(formationId)
|
||||||
if power2 > PlayerManager.maxForce then
|
if power2 > PlayerManager.maxForce then
|
||||||
NetManager.RequestUserForceChange(FormationTypeDef.FORMATION_NORMAL)--targetTeamId
|
NetManager.RequestUserForceChange(FormationTypeDef.FORMATION_NORMAL)--targetTeamId
|
||||||
PlayerManager.maxForce = power2
|
PlayerManager.maxForce = power2
|
||||||
|
SubmitExtraData({ type = SDKSubMitType.TYPE_VIP_LEVELUP })
|
||||||
end
|
end
|
||||||
-- 编队战斗力刷新
|
-- 编队战斗力刷新
|
||||||
Game.GlobalEvent:DispatchEvent(GameEvent.Formation.OnFormationPowerChange, power2)
|
Game.GlobalEvent:DispatchEvent(GameEvent.Formation.OnFormationPowerChange, power2)
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue