# Attack Effect

## Creation

To create an attack effect, find (or create) the *GameName/Resources/GameName/AbilityEffect* folder (or any subfolder) in the project tab and right click.  Choose *Create > AnyRPG > Abilities > Effects > AttackEffect*.

## Properties

In addition to all the properties of its parent class, [Amount Effect](/scriptable-objects/ability-effects.md#amount-effect-properties), attack effects have the following properties.

| Name                 | Description                                                                                                                                                                                                                                                                                                                                                              |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Weapon Attack        | If true, this attack will be considered to have been landed by the equipped [Weapon](/scriptable-objects/items/weapon.md).  It will play [Weapon](/scriptable-objects/items/weapon.md) sounds, as well as trigger [Weapon](/scriptable-objects/items/weapon.md) effects and active [Status Effect](/scriptable-objects/ability-effects/status-effect.md) on-hit effects. |
| Damage Type          | <p>An enumeration of damage types.<br><strong>Physical</strong><br><a href="/pages/rjLIgO3ynzdkPJJsaV0f">Weapon</a> damage and physical power will be added to the damage amounts.<br><strong>Ability</strong><br>Spell power will be added to the damage amounts.</p>                                                                                                   |
| Ignore Armor Percent | If the *Damage Type* is *Physical*, the percentage of the target armor to ignore when dealing damage.                                                                                                                                                                                                                                                                    |

## Next steps

* Add an attack effect to an [Ability](/scriptable-objects/abilities.md).
* Add an attack effect to another [Ability Effect](/scriptable-objects/ability-effects.md) to chain them together.


---

# 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://docs.anyrpg.org/scriptable-objects/ability-effects/attack-effect.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.
