#!/usr/bin/python # -*- coding: GBK -*- #------------------------------------------------------------------------------- # #------------------------------------------------------------------------------- # ##@package GM.Commands.GetRealmExp # # @todo:»ñÈ¡µ±Ç°¾³½çÐÞΪ¾­Ñé # @author xdh # @date 2019-03-20 # @version 1.0 # # ÏêϸÃèÊö: »ñÈ¡µ±Ç°¾³½çÐÞΪ¾­Ñé # #--------------------------------------------------------------------- """Version = 2019-03-20 11:30""" import PlayerPrestigeSys import GameWorld import ChConfig #--------------------------------------------------------------------- #Âß¼­ÊµÏÖ ## GMÃüÁîÖ´ÐÐÈë¿Ú # @param curPlayer µ±Ç°Íæ¼Ò # @param list ²ÎÊýÁбí [npcID] # @return None # @remarks º¯ÊýÏêϸ˵Ã÷. def OnExec(curPlayer, list): curTotalRealmExp = PlayerPrestigeSys.UpdateRealmExp(curPlayer, isNotify=True) buffRemainTime = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_RealmExpBuffRemainTime) GameWorld.DebugAnswer(curPlayer, "curTotalRealmExp=%s,buffRemainTime=%s" % (curTotalRealmExp, buffRemainTime)) return