Enum NPCGroupRole
- Namespace
- FishMMO.Server.Implementation.World.SceneServer.AI
- Assembly
- FishMMO.Server.dll
Roles that NPCs can play within an NPCGroup, authored per spawner entry
(NPCSpawnableSettings.PackRole).
public enum NPCGroupRole
Fields
DPS = 3DPS — takes the pack's focus when choosing a target.
Healer = 2Healer — no targeting rule of its own; heals through a healer archetype.
None = 0No specific role: picks its own targets, but still answers alerts and takes a tactic slot.
Support = 4Support — takes the pack's focus when choosing a target.
Tank = 1Tank — picks by threat; its target is the pack's focus; holds a Flank's front.
Remarks
Read by PickTarget(AIController, List<ICharacter>) (a tank picks by threat, DPS and Support take the pack's focus), by NPCGroup (a tank's target becomes the focus, and a Flank puts tanks at the front). A healer's behaviour comes from its archetype (HealerAttackingState), not from this role.