From 495f9eed41e29b54672a767817c9cb11419dfa4c Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 31 七月 2023 16:36:46 +0800 Subject: [PATCH] 9788 【BT9】【后端】成就系统(增加成就积分) hygame2 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Success.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Success.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Success.py index d683796..b2491a0 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Success.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Success.py @@ -19,6 +19,7 @@ import ShareDefine import PlayerSuccess import GameWorld +import PlayerControl #逻辑实现 ## GM命令执行入口 @@ -83,6 +84,8 @@ PlayerSuccess.Sync_SuccessInfo(curPlayer, [], True) # 同步成就领奖记录 PlayerSuccess.Sync_SuccTypeIndexAwardRecord(curPlayer, [], True) + PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_Success_ScoreAward, 0) + PlayerSuccess.Sync_SuccessScoreAward(curPlayer) GameWorld.DebugAnswer(curPlayer, "重置成就类型:%s" % resetTypeList) return @@ -111,6 +114,8 @@ # 同步成就领奖记录 PlayerSuccess.Sync_SuccTypeIndexAwardRecord(curPlayer, resetIDList, True) GameWorld.DebugAnswer(curPlayer, "重置成就ID领奖:%s" % resetIDList) + PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_Success_ScoreAward, 0) + PlayerSuccess.Sync_SuccessScoreAward(curPlayer) return def __DoPrintSuccess(curPlayer, msgList): -- Gitblit v1.8.0