From f7a9da4f9f0a3d1e15b68ed130b13ee3af3999c2 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期六, 18 八月 2018 16:35:43 +0800 Subject: [PATCH] fix:法宝魂GM命令触发任务 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 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 fb06418..5962869 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 @@ -7098,6 +7098,13 @@ realmlv = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0) return curPlayer.GetOfficialRank() >= realmlv +##法宝之魂是否激活 +# @param None +# @return None <Mwsoul value="id"/> +def ConditionType_Mwsoul(curPlayer, curMission, curActionNode): + soulID = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0) + return bool(PlayerMagicWeapon.GetIsActiveMWSoul(curPlayer, soulID)) + ##激活法宝,确认与成就逻辑后使用 # @param None # @return None <Active_Magicweapon id="法宝ID"/> -- Gitblit v1.8.0