# Shot

## Values

### victim

index of targeted player or nil on invalid

### shot\_info

extra info about the shot. See [fatality.record\_shot\_info\_t](/fatality/datatypes/shot-info.md)

### record

player record shot at. See [fatality.lag\_record\_t](/fatality/datatypes/lag-record.md)

### hit

true if the shot intersected with the player matrix

### hurt

true if the player took damage from the shot

### target\_damage

damage predicted

### hit\_damage

damage done. -1 if the shot was a miss

### target\_hitgroup

targeted hitgroup

### hit\_hitgroup

hitgroup hit on server

### target\_hitpos

targeted position shot at

### hitpos

position hit on the server

### shotpos

position the shot came from

### hitchance

chance of shot hitting

### inaccuracy

weapon inaccuracy


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lua.legacy.fatality.win/fatality/datatypes/shot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
