#!/usr/bin/python # -*- coding: GBK -*- ##@package GetExpMultiple # ²éѯµ±Ç°·þÎñÆ÷¾­Ñé±¶ÂÊ # # @author mark # @date 2010-3-31 # @version 1.0 # # ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ # VER = "2010-05-14 9:30" zhengyang Ìí¼Ó×¢ÊÍ # # Ä£¿éÏêϸ˵ #½Å±¾ËµÃ÷ ²éѯµ±Ç°·þÎñÆ÷¾­Ñé±¶ÂÊ #--------------------------------------------------------------------- #µ¼Èë import GMCommon import GameWorld import ChConfig #--------------------------------------------------------------------- #È«¾Ö±äÁ¿ #--------------------------------------------------------------------- #--------------------------------------------------------------------- #Âß¼­ÊµÏÖ ÕâÀïcurPlayer = None ## Ö´ÐÐÂß¼­ # @param curPlayer µ±Ç°Íæ¼Ò # @param gmList [cmdIndex] # @return None # @remarks º¯ÊýÏêϸ˵Ã÷. def OnExec(curPlayer , gmList): cmdIndex = gmList[0] GMCommon.Send_DataServer_GMCommandResult( cmdIndex, ChConfig.Def_GMTool_Succeed , '%s'%(GameWorld.GetGameWorld().GetExpRate()) ) return