def _ServerAction(self, action_path):

    servers_to_process = []
    if len(self.args) == 0:

      if not (self.options.app_id and
              self.options.server_id and
              self.options.version):
        _PrintErrorAndExit(self.error_fh,
                           'Expected at least one <file> argument or the '
                           '--application, --server_id and --version flags to'
                           ' be set.')
      else:
        servers_to_process.append((self.options.app_id,
                                   self.options.server_id,
                                   self.options.version))
    else:


      if self.options.server_id:

        _PrintErrorAndExit(self.error_fh,
                           'You may not specify a <file> argument with the '
                           '--server_id flag.')

      server_yamls = self._ParseAndValidateServerYamls(self.args)
      for serv_yaml in server_yamls:


        app_id = serv_yaml.application
        servers_to_process.append((self.options.app_id or serv_yaml.application,
                                   serv_yaml.server or appinfo.DEFAULT_SERVER,
                                   self.options.version or serv_yaml.version))

    rpcserver = self._GetRpcServer()


    for app_id, server, version in servers_to_process:
      response = rpcserver.Send(action_path,
                                app_id=app_id,
                                server=server,
                                version=version)
      print >> self.out_fh, response
Set player damage in state dictionary.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/appcfg.py/AppCfgApp._ServerAction--crossover with--dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/battlegui.py/InfoBox.set_player_damage