From c08af0d7ab743db92fb75fefbb46095261644f00 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期三, 28 十一月 2018 14:50:05 +0800 Subject: [PATCH] 2417 【1.3】雷霆幼龙一技能回血效果在升级后,需切图才能生效--灵宠有随等级刷新的技能,控制逢10级刷新 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py index e598e65..e0a2d48 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -3916,6 +3916,10 @@ # 升级需要执行的游戏功能处理 GameFuncComm.DoFuncOpenLogic(curPlayer) ChEquip.CalcEquips_OutOfPrint(curPlayer) # 缓存绝版属性 + if aftLV%10 == 0: + # 控制下刷新次数 + PlayerPet.CalcPetItemAddPlayerAttr(curPlayer) # 宠物有随等级变化的技能 + self.RefreshPlayerAttrState(billboardFunc=PlayerBillboard.UpdatePlayerLVBillboard) #放在功能开启后面 PlayerWorldAverageLv.UpdatePlayerWorldAverageLv(curPlayer) -- Gitblit v1.8.0