# Trait AI: Damage Resistance

![](/files/xZxA7hNXOrl4YRszSjnC)

## Description

Affects the amount of damage AI Unit receives from various sources. A scalar of 1.0 is the default for all pins. Lower values mean the AI Unit takes less damage from grenades and explosives. Lower values mean the AI Unit takes MORE damage from direct weapons fire.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input                   | Type                  | Required | Description                                                                                                   |
| ----------------------- | --------------------- | -------- | ------------------------------------------------------------------------------------------------------------- |
| Direct Damage Scalar    | Number (0.0 - 10,000) | Yes      | Less than 1.0 means AI will take MORE damage from direct weapons fire, higher means AI will take LESS damage. |
| Grenade Damage Scalar   | Number (0.0 - 10,000) | Yes      | Less than 1.0 means AI will take LESS damage from grenades, higher means AI will take MORE damage.            |
| Explosive Damage Scalar | Number (0.0 - 10,000) | Yes      | Less than 1.0 means AI will take LESS damage from grenades, higher means AI will take MORE damage.            |

## Outputs

| Output | Type  | Description                                      |
| ------ | ----- | ------------------------------------------------ |
| Trait  | Trait | The final Damage Resistance to be applied to AI. |

\
\
**Contributors**

AddiCt3d 2CHa0s


---

# 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://wiki.thescriptersguild.com/scripting/nodes/traits-ai/trait-ai-damage-resistance.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.
