> For the complete documentation index, see [llms.txt](https://mtgmodders.gitbook.io/etg-modding-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mtgmodders.gitbook.io/etg-modding-guide/monobehaviour-documentation/pierceprojmodifier.md).

# PierceProjModifier

This is the component that allows projectiles to penetrate multiple actors, and continue to travel. It is intended to be applied to projectiles.

## Public Variables

| Name                       | Type            | Notes                                                                                                                                                                                                                                                           | Default Value    |
| -------------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| penetration                | int             | Controls how many actors the projectile is allowed to pierce through.                                                                                                                                                                                           | 1                |
| penetratesBreakables       | bool            | If set to true, the projectile will pierce through breakable objects.                                                                                                                                                                                           | false            |
| preventPenetrationOfActors | bool            | If set to true, the projectile will not pierce objects with healthHaver components (usually referring to enemies).                                                                                                                                              | false            |
| BeastModeLevel             | BeastModeStatus | If set to BEAST\_MODE\_LEVEL\_ONE, then upon impacting a major breakable object that is not a secret wall and does not have 'ImmuneToBeastMode' set to true, 1000 damage will be dealt to the major breakable.                                                  | NOT\_BEAST\_MODE |
| UsesMaxBossImpacts         | bool            | Upon impacting a boss actor, if this variable is set to true 'm\_bossImpacts' increments by 1. If the amount of stored boss impacts exceeds the maximum defined in 'MaxBossImpacts', then the projectile loses all ability to pierce or, interestingly, bounce. | false            |
| MaxBossImpacts             | int             | Determines the maximum amount of times the projectile is allowed to impact a boss actor if 'UsesMaxBossImpacts' is true.                                                                                                                                        | -1               |

## Private Variables

| Name           | Type | Notes                                                                                                       |
| -------------- | ---- | ----------------------------------------------------------------------------------------------------------- |
| m\_bossImpacts | int  | Stores the amount of times the projectile has impacted a boss actor if 'UsesMaxBossImpacts' is set to true. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://mtgmodders.gitbook.io/etg-modding-guide/monobehaviour-documentation/pierceprojmodifier.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
