Class BossTimedMechanic
Defines a timed mechanic that fires at regular intervals during a boss encounter. E.g., "Every 30 seconds, cast Meteor."
[Serializable]
public class BossTimedMechanic
- Inheritance
-
BossTimedMechanic
- Inherited Members
Fields
AbilityTemplateID
The ability template ID to force-activate when the timer fires. The boss must know this ability (listed in NPC.Abilities).
[Tooltip("Ability template ID to activate.")]
public int AbilityTemplateID
Field Value
ActivePhases
Optional phases during which this mechanic is active. Empty means active in all phases.
[Tooltip("Phase indices (0-based) during which this mechanic fires. Empty = all phases.")]
public List<int> ActivePhases
Field Value
Interval
Seconds between activations. First activation happens after this delay.
[Tooltip("Seconds between activations.")]
public float Interval
Field Value
SpawnOffsets
Spawn offsets relative to the boss for each prefab.
[Tooltip("Spawn positions relative to boss.")]
public List<Vector3> SpawnOffsets
Field Value
- List<Vector3>
SpawnPrefabs
Optional: NPC prefabs to spawn each time the mechanic fires.
[Tooltip("NPC prefabs to spawn each activation.")]
public List<GameObject> SpawnPrefabs
Field Value
- List<GameObject>