CombatTracker

CombatTracker

The combat and turn order tracker tab

Constructor

new CombatTracker()

Source:

Members

(static) defaultOptions

Source:

combat :Combat|null

Source:

Record the currently tracked Combat encounter

Type:

Methods

activateListeners()

Source:

createPopout()

Source:

(async) getData()

Source:

initialize(combat, render)

Source:

Initialize the combat tracker to display a specific combat encounter. If no encounter is provided, the tracker will be initialized with the first encounter in the viewed scene.

Parameters:
Name Type Description
combat Combat | null

The combat encounter to initialize

render boolean

Whether to re-render the sidebar after initialization

scrollToTurn()

Source:

Scroll the combat log container to ensure the current Combatant turn is centered vertically