> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/traits-player/trait-damage-resistance.md).

# Trait: Damage Resistance

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-cd771c402f6ada8a405a16a9600d44f75ac8ce79%2Ftrait-damage-resistance.png?alt=media)

## Description

Affects the amount of damage a player receives from various sources. A scalar of 1.0 is the default for all pins. Lower values mean the player takes less damage for grenades and explosives. Lower values mean the player 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) | Yes      | What percentage of default. |
| Grenade Damage Scalar   | Number (0.0 - 10) | Yes      | What percentage of default. |
| Explosive Damage Scalar | Number (0.0 - 10) | Yes      | What percentage of default. |

## Outputs

| Output | Type  | Description                                 |
| ------ | ----- | ------------------------------------------- |
| Trait  | Trait | The final Bonus Health to be applied to AI. |

\
\
**Contributors**

AddiCt3d 2CHa0s
