Attack Effect

An attack effect does damage to a target, draining one or more power resources.

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, attack effects have the following properties.

NameDescription

Weapon Attack

If true, this attack will be considered to have been landed by the equipped Weapon. It will play Weapon sounds, as well as trigger Weapon effects and active Status Effect on-hit effects.

Damage Type

An enumeration of damage types. Physical Weapon damage and physical power will be added to the damage amounts. Ability Spell power will be added to the damage amounts.

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.

  • Add an attack effect to another Ability Effect to chain them together.

Last updated