From 0a6ffef4ba4593b8a112981b3e0be438889202e1 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 29 九月 2025 15:53:55 +0800 Subject: [PATCH] 16 卡牌服务端(修改GM命令Mail中物品,包含货币、装备、武将、常规物品;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py index fd10975..6a298b6 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py @@ -32,7 +32,6 @@ import DataRecordPack #import ChItem import ShareDefine -import PlayerGreatMaster import PlayerHorse import GameObj import random @@ -1353,10 +1352,6 @@ if GameObj.GetHP(curPlayer) <= 0: return - if curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_ClientCustomScene): - #GameWorld.DebugLog("自定义场景中,不检查!") - return True - #=========================================================================== # if curPlayer.IsMoving(): # GameWorld.DebugLog("移动中不可使用技能") @@ -1891,9 +1886,9 @@ # if not PlayerHorse.CheckLearnHorseSkill(curPlayer, curSkillTypeID): # return False #天赋技学习点数判断 - if upSkill.GetFuncType() == ChConfig.Def_SkillFuncType_GiftSkill: - if not PlayerGreatMaster.GetGreatMasterFreeSkillPoint(curPlayer): - return False + #if upSkill.GetFuncType() == ChConfig.Def_SkillFuncType_GiftSkill: + # if not PlayerGreatMaster.GetGreatMasterFreeSkillPoint(curPlayer): + # return False #经验检测 skillLvUpNeedExp = upSkill.GetLVUpCostExp() @@ -1958,8 +1953,8 @@ #GeRen_jin_474794 <n color="255,255,0" BKCOLOR="0,0,0">您消耗了经验值:</n><n color="0,190,255" BKCOLOR="0,0,0">{%S1%}</n> PlayerControl.NotifyCode(curPlayer, "GeRen_jin_474794", [skillLvUpNeedExp]) - if upSkill.GetFuncType() == ChConfig.Def_SkillFuncType_GiftSkill: - PlayerGreatMaster.AddGreatMasterSkillPointByLV(curPlayer, -1) + #if upSkill.GetFuncType() == ChConfig.Def_SkillFuncType_GiftSkill: + # PlayerGreatMaster.AddGreatMasterSkillPointByLV(curPlayer, -1) return True #--------------------------------------------------------------------- ##检测学习技能需求条件 -- Gitblit v1.8.0