From 203ce0cc61f8da777c2a1046a1f736fb786b9741 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 11 八月 2021 18:27:04 +0800
Subject: [PATCH] 9134 【BT3】【主干】新增物品获得活动积分(增加直接给货币物品类型65,A值数量,B值货币类型 主干冲突提交)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintSkill.py |   31 +++++++++++++++++++++++++++----
 1 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintSkill.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintSkill.py
index 5af84f1..64990b4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintSkill.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintSkill.py
@@ -13,9 +13,10 @@
 #
 #---------------------------------------------------------------------
 import GameWorld
-import ChConfig
 import PassiveBuffEffMng
 import PlayerPet
+import IpyGameDataPY
+import SkillCommon
 
 ## GM命令执行入口
 #  @param curPlayer 当前玩家
@@ -39,12 +40,13 @@
             skillDict[funcType].append(curSkill.GetSkillID())
     
     showDict = {
+                0 : "随意",
                 1 : "人族法宝",
                 2 : "魔族法宝",
                 3 : "法宝专精",
                 4 : "天赋",
                 5 : "坐骑技能",
-                6 : "神兵技能",
+                6 : "灵宠技能",
                 7 : "人族法宝",
                 8 : "普攻",
                 9 : "无",
@@ -52,11 +54,32 @@
                 11 : "NPC境界",
                 12 : "神兽技能",
                 13 : "诛仙技能",
+                14 : "套装技能",
+                15 : "可有专精的被动技能",
+                16 : "灵宠主人技能",
+                17 : "称号技能",
+                18 : "装备被动技能",
                 }
     
     for funcType, skillList in skillDict.items():
-        GameWorld.DebugAnswer(curPlayer, "%s : %s"%(showDict[funcType], skillList))
-    
+        GameWorld.DebugAnswer(curPlayer, "%s : %s"%(showDict.get(funcType, funcType), skillList))
+        
+    ## 打印技能增减伤信息
+    plusSkillTypeIDList = []
+    skillPlusAttrIDDict = IpyGameDataPY.GetFuncEvalCfg("SkillPlusAttrID", 2, {})
+    for skillTypeIDList in skillPlusAttrIDDict.values():
+        for skillTypeID in skillTypeIDList:
+            if skillTypeID in plusSkillTypeIDList:
+                continue
+            skillData = GameWorld.GetGameData().GetSkillBySkillID(skillTypeID)
+            if not SkillCommon.CheckSkillJob(curPlayer, skillData):
+                continue
+            plusSkillTypeIDList.append(skillTypeID)
+            addPer = SkillCommon.GetSkillAddPerByID(curPlayer, skillTypeID)
+            reducePer = SkillCommon.GetSkillReducePerByID(curPlayer, skillTypeID)
+            if addPer or reducePer:
+                GameWorld.DebugAnswer(curPlayer, "%s 增伤+%s 减伤+%s" % (skillData.GetSkillName(), addPer, reducePer))
+                
     if not cmdList:
         return
     

--
Gitblit v1.8.0