From 0da168207a8361e1738ea6ea9ac4be9830fa01e7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 07 十一月 2025 14:57:41 +0800
Subject: [PATCH] 237 【福利内容】每日任务/每周任务/章节奖励-服务端(增加物品效果281-给活跃度;每日任务奖励改为配置物品;)

---
 /dev/null                                                                                     |   45 ---------------------------------------------
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChangeJob.py |    3 +--
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py        |    3 +--
 3 files changed, 2 insertions(+), 49 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ResetBaseAttr.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ResetBaseAttr.py
deleted file mode 100644
index c9dc5fc..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ResetBaseAttr.py
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-#-------------------------------------------------------------------------------
-#
-##@package GM.Commands.ResetBaseAttr
-#
-# @todo:重置玩家灵根属性点
-# @author hxp
-# @date 2019-3-25
-# @version 1.0
-#
-# 详细描述: 重置玩家灵根属性点
-#
-#-------------------------------------------------------------------------------
-#"""Version = 2019-3-25 下午7:50:30"""
-#-------------------------------------------------------------------------------
-
-import Item_ResetAttrPoint
-import GameWorld
-
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param list 参数列表
-#  @return None
-def OnExec(curPlayer, cmdlist):
-    
-    if not cmdlist:
-        GameWorld.DebugAnswer(curPlayer, "重置所有灵根: ResetBaseAttr 0")
-        GameWorld.DebugAnswer(curPlayer, "重置指定灵根: ResetBaseAttr ID 点数")
-        return
-    
-    isOK = False
-    if len(cmdlist) == 1 and cmdlist[0] == 0:
-        isOK = Item_ResetAttrPoint.DoResetAttrPoint(curPlayer, 0, 0)
-    elif len(cmdlist) >= 2:
-        resetID, resetPoint = cmdlist[:2]
-        isOK = Item_ResetAttrPoint.DoResetAttrPoint(curPlayer, resetID, resetPoint)
-        
-    if not isOK:
-        GameWorld.DebugAnswer(curPlayer, "重置灵根失败!")
-    else:
-        GameWorld.DebugAnswer(curPlayer, "重置灵根成功!当前剩余点数: %s" % curPlayer.GetFreePoint())
-        
-    return
-
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index 0f8df90..76605b3 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -85,7 +85,6 @@
 import PlayerCrossYaomoBoss
 import PlayerLuckyCloudBuy
 import PlayerLuckyTreasure
-import Item_ResetAttrPoint
 import CrossActCTGBillboard
 import CrossActAllRecharge
 import PlayerFuncSysPrivilege
@@ -1581,7 +1580,7 @@
             return
         ItemCommon.ReduceItem(curPlayer, itemPack, [delIndex], 1, False, ChConfig.ItemDel_ResetAttrPoint)
     
-    Item_ResetAttrPoint.DoResetAttrPoint(curPlayer, 0, 0, 0)
+    #Item_ResetAttrPoint.DoResetAttrPoint(curPlayer, 0, 0, 0)
     return
 
 def NotifyPlayerBasePoint(curPlayer, syncAttrIDList=[]):
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChangeJob.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChangeJob.py
index 49c485f..2f22959 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChangeJob.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChangeJob.py
@@ -20,7 +20,6 @@
 import IpyGameDataPY
 import IPY_GameWorld
 import PlayerBillboard
-import Item_ResetAttrPoint
 import DataRecordPack
 import PlayerControl
 import ItemControler
@@ -257,7 +256,7 @@
             elmSkillName = elmSkillData.GetSkillName() if elmSkillData else ""
             GameWorld.Log("    重置专精记录等级: elementSkillID=%s(%s),elementSkillIDLV=%s" % (elementSkillID, elmSkillName, elementSkillIDLV), playerID)
             
-    Item_ResetAttrPoint.DoResetAttrPoint(curPlayer, 0, 0)
+    #Item_ResetAttrPoint.DoResetAttrPoint(curPlayer, 0, 0)
     
     # 处理物品
     GameWorld.Log("替换物品: 个数=%s" % len(assignItemList), playerID)

--
Gitblit v1.8.0