Table of Contents

Class AggressionEntry

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

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

int

LastEventTime

Value of Clock at the last aggression event. Tick-derived, not wall-clock.

public float LastEventTime

Field Value

float

Points

Total accumulated aggression points. Higher = higher-priority target.

public float Points

Field Value

float

TotalDamage

Total damage dealt to the NPC by this character.

public int TotalDamage

Field Value

int

TotalHealing

Total healing performed on enemies of the NPC.

public int TotalHealing

Field Value

int

TotalResourceSpent

Total resource (mana/stamina) spent casting abilities against the NPC.

public int TotalResourceSpent

Field Value

int

Methods

Reset()

Resets all tracked aggression data to default values.

public void Reset()