Table of Contents

Class OnCreatureAttack

Namespace
Anvil.API.Events
Assembly
NWN.Anvil.dll

Triggered for each individual melee or ranged attack in a flurry.

public sealed class OnCreatureAttack : IEvent
Inheritance
OnCreatureAttack
Implements
Inherited Members
Extension Methods

Properties

AttackModifier

Gets the attack roll modifier applied to this attack.

AttackNumber

Gets the 1-based index of this attack within the current flurry.

AttackResult

Gets or sets the resolved outcome for this attack.

AttackRoll

Gets the raw d20 attack roll value.

AttackType

Gets the internal attack type for this strike.

Attacker

Gets the attacking creature.

DamageData

Gets the mutable damage data for this attack.

IsAttackDeflected

Gets a value indicating whether the attack was deflected.

IsCoupDeGrace

Gets a value indicating whether the attack is a coup de grĂ¢ce.

IsCriticalThreat

Gets a value indicating whether the attack threatens a critical hit.

IsRangedAttack

Gets a value indicating whether the attack is ranged.

KillingBlow

Gets a value indicating whether this attack is a killing blow.

SneakAttack

Gets the sneak/death attack state for this strike.

Target

Gets the target of the attack.

TotalDamage

Gets the total damage value for this attack.

WeaponAttackType

Gets the weapon attack type for this strike.