Class AggressionEntry
Tracks accumulated aggression (threat) from a single character toward an NPC. Points are gained when the character damages the NPC, heals an enemy, spends resources, or takes other aggressive actions. Points decay over time so stale threats fade.
public class AggressionEntry
- Inheritance
-
AggressionEntry
- Inherited Members
Fields
HitCount
Number of times this character has damaged the NPC.
public int HitCount
Field Value
LastEventTime
Value of Clock at the last aggression event. Tick-derived, not wall-clock.
public float LastEventTime
Field Value
Points
Total accumulated aggression points. Higher = higher-priority target.
public float Points
Field Value
TotalDamage
Total damage dealt to the NPC by this character.
public int TotalDamage
Field Value
TotalHealing
Total healing performed on enemies of the NPC.
public int TotalHealing
Field Value
TotalResourceSpent
Total resource (mana/stamina) spent casting abilities against the NPC.
public int TotalResourceSpent
Field Value
Methods
Reset()
Resets all tracked aggression data to default values.
public void Reset()