#!/usr/bin/python # -*- coding: GBK -*- #------------------------------------------------------------------------------- # ##@package GM.Commands.SetXJMJExpTime # # @todo:ÉèÖÃÏɽçÃØ¾³¾­Ñ鲹ʱʱ¼ä # @author hxp # @date 2018-06-30 # @version 1.0 # # ÏêϸÃèÊö: ÉèÖÃÏɽçÃØ¾³¾­Ñ鲹ʱʱ¼ä # #------------------------------------------------------------------------------- #"""Version = 2018-06-30 22:00""" #------------------------------------------------------------------------------- import ChConfig import PlayerControl import GameWorld import ChPlayer ## Âß¼­ÊµÏÖ # @param curPlayer # @param cmdList ²ÎÊýÁбí # @return None def OnExec(curPlayer, cmdList): if not cmdList: GameWorld.DebugAnswer(curPlayer, 'SetXJMJExpTime Ãë') return expTime = cmdList[0] GameWorld.DebugAnswer(curPlayer, 'ÉèÖþ­Ñ鲹ʱÃë: %s' % expTime) if not expTime: GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_GuideState, ChConfig.GuideState_BZZDShow, 0) GameWorld.DebugAnswer(curPlayer, 'ÖØÖÃÏɽçÃØ¾³³¡¾°Ðã!') ChPlayer.SyncGuideState(curPlayer) return