From fff7319fd0fb06d03364c5be64edc5bc22e1fe3f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 28 八月 2025 18:04:18 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(NPC支持成长属性;NPC支持关联武将;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py | 28 +++-------------------------
1 files changed, 3 insertions(+), 25 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
index 5cc7d0c..81d6998 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
@@ -18,45 +18,29 @@
import SkillShell
import BuffSkill
import PlayerControl
-import ChEquip
import SkillCommon
import FBLogic
-import AttackCommon
import ChItem
import PlayerGMOper
-import ItemCommon
import OperControlManager
import ShareDefine
-import PlayerAutoCheckOnline
-import PlayerGameWallow
import ReadChConfig
import PlayerDienstgrad
-import PlayerVip
import IpyGameDataPY
-import PlayerFB
import GameObj
import GameMap
import math
import time
import PetControl
-import ItemControler
-import PlayerGuaji
import AICommon
import PlayerSuccess
-import CrossPlayerData
import PassiveBuffEffMng
import FunctionNPCCommon
import FormulaControl
-import PlayerGoldGift
-import PlayerActLianqi
-import PlayerActFamilyGCZ
import PlayerFlashSale
import PlayerChatBox
import PlayerFace
-import PlayerYinji
-import PlayerActivity
import PlayerBackup
-import MirrorAttack
import PlayerOnline
#---------------------------------------------------------------------
@@ -786,7 +770,7 @@
curPlayer.SetDict(ChConfig.Def_PlayerKey_SitForZhenQi, tick)
vipLV = curPlayer.GetVIPLv()
- vipRate = ShareDefine.Def_MaxRateValue#PlayerVip.GetVIPMuseSitRate(vipLV)
+ vipRate = ShareDefine.Def_MaxRateValue
#取得人物当前经验
curTotalExp = PlayerControl.GetPlayerTotalExp(curPlayer) # 超过20亿支持,功能待定
@@ -802,7 +786,7 @@
isSysHint=False)
if vipLV == 0:
- canVipRate = ShareDefine.Def_MaxRateValue#PlayerVip.GetVIPMuseSitRate(ShareDefine.Def_VIPType_Platina)
+ canVipRate = ShareDefine.Def_MaxRateValue
canVipExpValue = int(addExpValue * canVipRate / float(ShareDefine.Def_MaxRateValue))
#GeRen_chenxin_684833:获得经验%s点,成为VIP经验%s
PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_684833", [addExpValue, canVipExpValue])
@@ -882,11 +866,8 @@
# @remarks 刷新玩家在线时间
def ProcessPlayer_OnlineTime(curPlayer, tick):
if not CommonCheckTick(curPlayer, tick, ChConfig.TYPE_Player_Tick_PlayerOnlineTime):
- return
+ return
- #处理防沉迷在线时间,
- PlayerGameWallow.DoLogic_WallowOnlineTime(curPlayer, tick)
-
return
@@ -1008,9 +989,6 @@
#定时备档
PlayerBackup.CheckPlayerBackup(curPlayer)
-
- #玩家镜像战斗AI
- #MirrorAttack.ProcessPlayerMirrorAI(curPlayer, tick)
#被GM封状态响应
ProcessGMOperLogic(curPlayer, tick)
--
Gitblit v1.8.0