Table of Contents

Class CreatureEvents.OnDamaged

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

Triggered when the creature takes damage from a game object.

public sealed class CreatureEvents.OnDamaged : IEvent
Inheritance
CreatureEvents.OnDamaged
Implements
Inherited Members
Extension Methods

Constructors

OnDamaged()

Properties

Creature

Gets the NwCreature that is taking damage.

DamageAmount

Gets the total damage dealt to the creature.

Damager

Gets the NwGameObject that damaged NwCreature.

Methods

GetDamageDealtByType(DamageType)

Gets the damage dealt to the creature by type.