ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -7413,11 +7413,9 @@ #---当前防护值,需存DB---- def GetProDef(curPlayer): return curPlayer.GetExAttr4() def SetProDef(curPlayer, value): if GameWorld.IsCrossServer(): curPlayer.SetExAttr4(value, True) # 跨服服务器需要广播周围玩家 else: curPlayer.SetExAttr4(value) curPlayer.SetExAttr4(value, True) return #---最大防护值---- def GetMaxProDef(curPlayer): return curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_AttrMaxProDef) def SetMaxProDef(curPlayer, value):