Anvil
Loading...
Searching...
No Matches
Anvil.API.Events.CreatureEvents.OnDamaged Class Referencesealed

Triggered by NwCreature when taken damage from NwGameObject. More...

+ Inheritance diagram for Anvil.API.Events.CreatureEvents.OnDamaged:
+ Collaboration diagram for Anvil.API.Events.CreatureEvents.OnDamaged:

Public Member Functions

int GetDamageDealtByType (DamageType damageType)
 Gets damage dealt to NwCreature, by DamageType.
 

Properties

NwCreature Creature [get]
 Gets the NwCreature that is taking damage.
 
int DamageAmount [get]
 Gets the amount of damage done by NwGameObject to NwCreature.
 
NwGameObject Damager [get]
 Gets the NwGameObject that damaged NwCreature.
 
- Properties inherited from Anvil.API.Events.IEvent

Detailed Description

Triggered by NwCreature when taken damage from NwGameObject.


The documentation for this class was generated from the following file: