From 9d5f1996ab520ab5ede2b153a15c3b8b74be662e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 29 三月 2019 17:19:17 +0800
Subject: [PATCH] 3040 【BUG】【1.6】跨服pk,快速点击购买次数,可以超出上限
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartStar.py | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartStar.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartStar.py
index eb6af53..80f1486 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartStar.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetEquipPartStar.py
@@ -65,15 +65,15 @@
if len(cmdList) != 3:
return
- classlv, equipPlace, starLV = cmdList
- ipyData = IpyGameDataPY.GetIpyGameData('EquipPlaceIndexMap', classlv, equipPlace)
+ classLV, equipPlace, starLV = cmdList
+ ipyData = IpyGameDataPY.GetIpyGameData('EquipPlaceIndexMap', classLV, equipPlace)
if not ipyData:
__GMHelpAnswer(curPlayer)
return
equipPackIndex = ipyData.GetGridIndex()
ChEquip.SetEquipPartStar(curPlayer, equipPackIndex, starLV)
ChEquip.NotifyEquipPartStar(curPlayer, equipPackIndex)
- ChEquip.RefreshPlayerEquipAttribute(curPlayer, classlv)
+ ChEquip.RefreshPlayerEquipAttribute(curPlayer, classLV)
playControl = PlayerControl.PlayerControl(curPlayer)
playControl.RefreshPlayerAttrState()
GameWorld.DebugAnswer(curPlayer, "设置%s阶%s部位星数为: %s" % (classLV, equipPlace, starLV))
@@ -83,8 +83,8 @@
def __GMHelpAnswer(curPlayer, errorMsg=""):
if errorMsg:
GameWorld.DebugAnswer(curPlayer, "%s" % errorMsg)
- GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 星数")
- GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 阶级 星数")
- GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 阶级 部位 星数")
+ GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 星数")
+ GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 阶级 星数")
+ GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 阶级 部位 星数")
return
--
Gitblit v1.8.0