hxp
2024-11-13 141959c90ea475111b1d021d219745c2e246f45e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/python
# -*- coding: GBK -*-
 
##@package GetMissionDict
# Ä£¿éµÄ¼òҪ˵Ã÷:Êä³öÈÎÎñ×ÖµäÖµ
# @author:Alee
# @date 2010-06-07 16:20
# @version 1.0
#
# ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
#
# Ä£¿éÏêϸ˵Ã÷:Êä³öÈÎÎñ×ÖµäÖµ
#
#---------------------------------------------------------------------
#µ¼Èë
import GameWorld
#---------------------------------------------------------------------
#È«¾Ö±äÁ¿
## ÈÎÎñ×ÖµäÖµÉèÖÃ
#  @param curPlayer GM
#  @return playerList ÃüÁî²ÎÊý(npciid ¸öÊý)
#  @remarks ÈÎÎñ×ÖµäÖµÉèÖÃ
def OnExec(curPlayer, msgList):
    missionID = int(msgList[0])
    keyName = msgList[1]
    
    curMission = curPlayer.FindMission(missionID)
    
    if not curMission:
        GameWorld.DebugAnswer(curPlayer, "ÕÒ²»µ½ÈÎÎñ%s"%missionID)
        return
    
    GameWorld.DebugAnswer(curPlayer, "×ֵ䣺%s   %s"%(keyName, curMission.GetProperty(keyName)))