Combat¶
The Combat
library contains methods for querying information about ongoing combats.
CombatLib Class¶
Inherits from Library
.
Methods¶
GetActiveCombatant¶
Returns the current active combatant in a combat.
GetCombat¶
@param combatID integer
GetCombatComponent¶
function CombatLib.GetCombatComponent(entity)
-> EocCombatComponent? -- `nil` if the entity does not have the component.
Returns the combat component of an entity.
@param entity CombatLib_CombatCompatibleEntity
GetCombatID¶
Returns the combat ID of an entity.
@param entity CombatLib_CombatCompatibleEntity
GetTurnManager¶
GetTurnOrder¶
Returns the character participants of a combat.