#!/usr/bin/python
|
# -*- coding: GBK -*-
|
|
##@package SetFreePoint
|
# ÉèÖà ָ¶¨ÕʺÅ<Íæ¼ÒID>µÄδ·ÖÅäµãÊý<δ·ÖÅäµãÊý>
|
#
|
# @author ifo
|
# @date 2010-4-23
|
# @version 1.0
|
#
|
# ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
|
# VER = "2010-05-12 18:30" zhengyang Ìí¼Ó×¢ÊÍ
|
#
|
# Ä£¿éÏêϸ˵Ã÷
|
|
import GameWorld
|
import Lang
|
## GMÃüÁîÖ´ÐÐÈë¿Ú
|
# @param curPlayer µ±Ç°Íæ¼Ò
|
# @param playerList ²ÎÊýÁбí [pointCount]
|
# @return None
|
# @remarks º¯ÊýÏêϸ˵Ã÷.
|
def OnExec(curPlayer,playerList):
|
if len(playerList) != 1:
|
#²ÎÊý²»ÕýÈ·
|
GameWorld.DebugAnswer(curPlayer, Lang.GBText("²ÎÊý²»ÕýÈ·"))
|
return
|
#»ñÈ¡ Ö¸¶¨ÕʺÅ<Íæ¼ÒID>µÄδ·ÖÅäµãÊý<δ·ÖÅäµãÊý>
|
curPlayer.SetFreePoint(playerList[0])
|