1111 【越南】【英语】【BT】【砍树】增加功能开启触发任务事件;
# Conflicts:
# ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameFuncComm.py
| | |
| | | return
|
| | |
|
| | | #---------------------------------------------------------------------
|
| | | def EventResponse_Funcopen(curPlayer, funcID):
|
| | | ## 功能开启触发
|
| | | RunQuestEvent(curPlayer, "funcopen", funcID, Def_RunQuestType_RunAll)
|
| | | return
|
| | |
|
| | | ##任务触发器_LVUp 当玩家升级的时候触发
|
| | | #@param curPlayer 玩家实例
|
| | | #@return 返回值无意义
|
| | |
| | | import PlayerGuaji
|
| | | import PlayerTJG
|
| | | import PlayerTask
|
| | | import EventShell
|
| | |
|
| | |
|
| | | # 功能开启需执行的函数{功能ID:执行函数, ...} 函数需返回是否激活成功, 功能开启有需要处理功能逻辑的这里增加函数调用配置即可
|
| | |
| | | if funcID in FuncOpenLogicDict:
|
| | | FuncOpenLogicDict[funcID](curPlayer)
|
| | |
|
| | | EventShell.EventResponse_Funcopen(curPlayer, funcID)
|
| | | |
| | | mailKey = ipyData.GetMailKey()
|
| | | if mailKey:
|
| | | PlayerControl.SendMailByKey(mailKey, [curPlayer.GetPlayerID()], [])
|