Skip to content

CombatMode

cyrite edited this page Jan 6, 2024 · 1 revision

Overview

The CombatMode role is responsible for determining a Trust's combat distance in battle.

Modes

See CombatMode, AutoFaceMobMode and FlankMode.

How it works

A CombatMode role specifies how the Trust positions itself relative to the party's target in battle.

Melee

When CombatMode is set to Melee, the Trust will stay within melee distance of the target. By default, the distance is 3 yalms, however you can override the value by changing battle.melee_distance in addons/Trust/data/settings.xml. Use CombatMode in conjunction with the Attacker role for front line jobs like WAR, DRK or SAM.

Ranged

When CombatMode is set to Ranged, the Trust will maintain a larger distance from the target. By default, the distance is 21 yalms, however you can override the value by changing battle.range_distance in adding/Trust/data/settings.xml. Use in conjunction with the Shooter and Attacker roles for ranged combat, or use it by itself for jobs like WHM or SCH that don't need to engage.

Facing the mob

If AutoFaceMobMode is set to Auto, the Trust will automatically face the party's target while in battle. Use this when CombatMode is set to Melee or Ranged.

Settings

Example settings from addons/Trust/data/settings.xml:

<battle>
  <melee_distance>3</melee_distance>
  <range_distance>21</range_distance>
</battle>

Jobs

  • BLM
  • BLU
  • BRD
  • BST
  • COR
  • DNC
  • DRK
  • GEO
  • MNK
  • NIN
  • PLD
  • PUP
  • RDM
  • RNG
  • RUN
  • SAM
  • SCH
  • SMN
  • THF
  • WAR
  • WHM

Explore the code

Clone this wiki locally