original_docstring: Handles cuwo's on_kill event.
          
          Keyword arguments:
          event -- Further information about what happened
          
          
docstring: Handles cuwo's on_kill event.
  Keyword arguments:
  event -- Further information about what happened
docstring_tokens: Handles cuwo ' s on_kill event . Keyword arguments : event -- Further information about what happened
code: def on_kill(self, event):
          """Handles cuwo's on_kill event.
          
          Keyword arguments:
          event -- Further information about what happened
          
          """
          target_id = event.target.entity_id
          xp_on_kill = self.server.config.capture_the_flag.xp_on_kill
          if xp_on_kill and target_id in self.server.players:
              entity = self.connection.entity
              self.parent.game_state.on_kill(entity, event.target)
code_tokens: def on_kill ( self , event ) : target_id = event . target . entity_id xp_on_kill = self . server . config . capture_the_flag . xp_on_kill if xp_on_kill and target_id in self . server . players : entity = self . connection . entity self . parent . game_state . on_kill ( entity , event . target )
short_docstring: Handles cuwo's on_kill event.
short_docstring_tokens: Handles cuwo ' s on_kill event .
comment: """Handles cuwo's on_kill event.
          
          Keyword arguments:
          event -- Further information about what happened
          
          """