From 5f3b500dd8efc188323d6e6ec2a74857e82142c8 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 10 二月 2026 19:50:38 +0800
Subject: [PATCH] 1111 【后台】 扣除玩家物品、扣除玩家货币命令支持;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py |   76 --------------------------------------
 1 files changed, 0 insertions(+), 76 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
index bb87fb2..18ed910 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
@@ -31,13 +31,10 @@
 import PlayerControl
 import NetPackCommon
 import ChPyNetSendPack
-import PlayerVip
 import AttackCommon
 import PyGameData
-import PlayerHorse
 import BaseAttack
 import NPCCommon
-import PetControl
 import ItemCommon
 import FBCommon
 
@@ -149,79 +146,11 @@
 def OnLoginGFPassive(curPlayer):
     #改为都生效,不需要设置
     return
-#    # ---通知每页数据---
-#    holeCnt = IpyGameDataPY.GetFuncCfg('PassSkillEquipLimit', 2)
-#    pageCnt = IpyGameDataPY.GetFuncCfg('PassSkillEquipLimit', 3)
-#    
-#    sendPack = ChPyNetSendPack.tagMCPassiveSet()
-#    sendPack.PageCnt = pageCnt
-#    sendPack.PassiveSkills = []
-#    
-#    
-#    #tmpDict = IpyGameDataPY.GetFuncEvalCfg('PassSkillEquipLimit', 1)
-#    
-#    # 剩余VIP时间
-#    #haveVipTime = PlayerVip.GetCurVIPTime(curPlayer)
-#    
-#    for i in xrange(pageCnt):
-#        skills = ChPyNetSendPack.tagMCPassiveSkills()
-#        skills.Count = holeCnt
-#        skills.SkillIDList = []
-#        for j in xrange(holeCnt):
-#
-#            #===================================================================
-#            # # 判断VIP过期的情况
-#            # for key, value in tmpDict.get(j, {}).items():
-#            #    if key == "vipLv":
-#            #        if curPlayer.GetVIPLv() < value or haveVipTime <=0:
-#            #            PlayerControl.NomalDictSetProperty(curPlayer, 
-#            #                                               ChConfig.Def_PDict_GFPassiveIndex%(i, j), 
-#            #                                               0,
-#            #                                               ChConfig.Def_PDictType_GFPassive)
-#            #===================================================================
-#        
-#            skillID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GFPassiveIndex%(i, j), 0,
-#                                                     ChConfig.Def_PDictType_GFPassive)
-#            skills.SkillIDList.append(skillID)
-#        
-#        sendPack.PassiveSkills.append(skills)
-#    
-#    NetPackCommon.SendFakePack(curPlayer, sendPack)
-#    
-#    # ---通知激活页---
-#    page = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GFPassivePage, 0, ChConfig.Def_PDictType_GFPassive)
-#    sendPack = ChPyNetSendPack.tagMCPassivePage()
-#    sendPack.Page = page
-#    NetPackCommon.SendFakePack(curPlayer, sendPack)
-#    return
 
 # 切换地图
 def OnLoadMapGFPassive(curPlayer):
     # 被动技能
     GetPassiveEffManager().RegistPassiveEff(curPlayer)
-    
-    #tmpDict = IpyGameDataPY.GetFuncEvalCfg('PassSkillEquipLimit', 1)
-    #holeCnt = IpyGameDataPY.GetFuncCfg('PassSkillEquipLimit', 2)
-    
-    # 剩余VIP时间
-    #haveVipTime = PlayerVip.GetCurVIPTime(curPlayer)
-    
-    #当前使用页
-    #page = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GFPassivePage, 0, ChConfig.Def_PDictType_GFPassive)
-
-#===============================================================================
-#    for j in xrange(holeCnt):
-# 
-#        # 判断VIP过期的情况
-#        for key, value in tmpDict.get(j, {}).items():
-#            if key != "vipLv":
-#                continue
-#            if curPlayer.GetVIPLv() < value or haveVipTime <= 0:
-#                PlayerControl.NomalDictSetProperty(curPlayer, 
-#                                                   ChConfig.Def_PDict_GFPassiveIndex%(page, j), 
-#                                                   0,
-#                                                   ChConfig.Def_PDictType_GFPassive)
-#===============================================================================
     
     # 魔族法宝-被动技能页
     GetPassiveEffManager().RegistPassiveEffSet(curPlayer)
@@ -862,11 +791,6 @@
         # buff # 筛选buffType 否则NPC没有此接口会报错
         for buffType in [IPY_GameWorld.bfBuff, IPY_GameWorld.bfDeBuff, IPY_GameWorld.bfProcessBuff
                          , IPY_GameWorld.btPassiveBuf, IPY_GameWorld.bfActionBuff, IPY_GameWorld.bfProcessDeBuff]:
-            
-            if buffType == IPY_GameWorld.btPassiveBuf and gameObj.GetGameObjType() == IPY_GameWorld.gotNPC:
-                # NPC只有宠物有被动BUFF
-                if not PetControl.IsPet(gameObj):
-                    continue
             
             buffTuple = SkillCommon.GetBuffManagerByBuffType(gameObj, buffType)
             #通过类型获取目标的buff管理器为空,则跳出

--
Gitblit v1.8.0