From 30dd8ff93a00ada8262a35da0ede9c2088a7fd37 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 23 九月 2025 16:52:52 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(诸葛亮技能; 目标细分增加攻击力最高5; buff状态增加军令19;增加效果6006增加本次技能万分比验证职业;增加效果5015集火攻击军令目标;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MainLevel.py | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MainLevel.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MainLevel.py index 1446e64..70916dc 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MainLevel.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MainLevel.py @@ -19,22 +19,39 @@ import PlayerControl import IpyGameDataPY import GameLogic_MainLevel +import IPY_GameWorld +import ClearPack +import ChConfig def OnExec(curPlayer, gmList): if not gmList: GameWorld.DebugAnswer(curPlayer, "重置主线: MainLevel 0") GameWorld.DebugAnswer(curPlayer, "设置主线: MainLevel 章节 关卡 波") - GameWorld.DebugAnswer(curPlayer, "测试掉落: MainLevel d 战锤数") + GameWorld.DebugAnswer(curPlayer, "测试击杀: MainLevel k 消耗战锤数") + GameWorld.DebugAnswer(curPlayer, "重置掉落: MainLevel d 0 [是否清掉落背包]") GameWorld.DebugAnswer(curPlayer, "重置战利: MainLevel b 0") GameWorld.DebugAnswer(curPlayer, "设置战利: MainLevel b 战利品ID 已掉落个数") return value = gmList[0] + if value == "k": + useXiantao = gmList[1] if len(gmList) > 1 else 1 + GameLogic_MainLevel.GMTestKill(curPlayer, useXiantao) + return + if value == "d": unXiantao = gmList[1] if len(gmList) > 1 else 1 - GameLogic_MainLevel.GMTestKillDrop(curPlayer, unXiantao) + if unXiantao == 0: + PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_UnXiantaoCntExp, 0) + PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_UnXiantaoCntEquip, 0) + GameLogic_MainLevel.ResetBootyDropToday(curPlayer) + clearDropPack = gmList[2] if len(gmList) > 2 else 0 + if clearDropPack: + ClearPack.__DoLogic_Clear_Pack(curPlayer, IPY_GameWorld.rptIdentify) + GameWorld.DebugAnswer(curPlayer, "重置未结算战锤掉落OK!") + return return if value == "b": @@ -53,7 +70,7 @@ if value <= 0: nowValue = PlayerControl.SetMainLevelNowInfo(curPlayer, 1, 1, 1) - passValue = PlayerControl.SetMainLevelPassInfo(curPlayer, 0, 0, 0) + passValue = PlayerControl.SetMainLevelPassInfo(curPlayer, 1, 1, 0) GameWorld.DebugAnswer(curPlayer, "重置主线:now=%s,pass=%s" % (nowValue, passValue)) return -- Gitblit v1.8.0