From e6d59c4b43397413073159b2801cee6a8add1083 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 05 三月 2019 13:43:39 +0800
Subject: [PATCH] 6307 【后端】【2.0】多套装备开发单(默认第1套)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py | 5 +++--
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
index f66d612..11ccf6b 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -868,8 +868,9 @@
giveItem.Clear()
continue
- #---初始化装备显隐---前端自己设置
- #curPlayer.SetEquipShowSwitch(IPY_GameWorld.revClothesCoat|IPY_GameWorld.revWeaponCoat|IPY_GameWorld.revMask)
+ #---初始化装备显隐 第1套*10+没有套装
+ curPlayer.SetEquipShowSwitch(10)
+ PlayerControl.SetFaceEquipIndex(curPlayer, 11012014)
#默认触发一次功能开启
if curPlayer.GetLV() == 1:
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 0d2f74e..94a19fe 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -5828,10 +5828,10 @@
return
##影响外观的3部位索引记录 123456789 123:武器格子索引 456:副手 789:衣服
-def GetFaceEquipIndexList(curPlayer):
+def GetFaceEquipIndexList(curPlayer):
attr15 = curPlayer.GetExAttr15()
return [attr15%1000, attr15/1000%1000, attr15/1000000]
-def SetFaceEquipIndex(curPlayer, value): return curPlayer.SetExAttr15(value, True, True)
+def SetFaceEquipIndex(curPlayer, value): return curPlayer.SetExAttr15(value, False, True)
##获得玩家威望值
def GetPrestige(curPlayer): return 0
--
Gitblit v1.8.0