From 3d54f6b3fc54d34bb59d31ccb7562fe11efc6200 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期一, 24 六月 2019 16:26:36 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py index 5847a24..f69c2cc 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py @@ -6006,11 +6006,11 @@ # @return 返回值无意义 # @remarks <Set_Equiptotalstar key="" /> def DoType_Set_Equiptotalstar(curPlayer, curMission, curActionNode): -# key = curActionNode.GetAttribute("key") -# questID = GameWorld.ToIntDef(curActionNode.GetAttribute("id"), 0) -# if questID != 0: -# curMission = curPlayer.FindMission(questID) -# curMission.SetProperty(key, ChEquip.GetTotalEquipStars(curPlayer)) + key = curActionNode.GetAttribute("key") + questID = GameWorld.ToIntDef(curActionNode.GetAttribute("id"), 0) + if questID != 0: + curMission = curPlayer.FindMission(questID) + curMission.SetProperty(key, ChEquip.GetTotalEquipStars(curPlayer)) return #--------------------------------------------------------------------- ##DoType_调度器 -- Gitblit v1.8.0