1111 【越南】【英语】【BT】【砍树】增加功能开启触发任务事件;

# Conflicts:
# ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameFuncComm.py
2个文件已修改
8 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameFuncComm.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -959,6 +959,11 @@
    return
#---------------------------------------------------------------------
def EventResponse_Funcopen(curPlayer, funcID):
    ## 功能开启触发
    RunQuestEvent(curPlayer, "funcopen", funcID, Def_RunQuestType_RunAll)
    return
##任务触发器_LVUp 当玩家升级的时候触发
#@param curPlayer 玩家实例
#@return 返回值无意义
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameFuncComm.py
@@ -54,6 +54,7 @@
import PlayerGuaji
import PlayerTJG
import PlayerTask
import EventShell
# 功能开启需执行的函数{功能ID:执行函数, ...} 函数需返回是否激活成功, 功能开启有需要处理功能逻辑的这里增加函数调用配置即可
@@ -158,6 +159,8 @@
        if funcID in FuncOpenLogicDict:
            FuncOpenLogicDict[funcID](curPlayer)
            
        EventShell.EventResponse_Funcopen(curPlayer, funcID)
        mailKey = ipyData.GetMailKey()
        if mailKey:
            PlayerControl.SendMailByKey(mailKey, [curPlayer.GetPlayerID()], [])