Function; setTacticsMults - HWRM/KarosGraveyard GitHub Wiki

setTacticsMults(<rShipTable>, <sModifier>, <fAggressive>, <fEvasive> <fNeutral>)

Description

Modifies stated value according to Aggressive, Evasive, or Neutral Stance.

Note that the role of 'tactics' is split instead between ROE and Stance.

See Tactics.

Example

setTacticsMults(NewShipType, "MAXSPEED", 1.0, 1.10, 1.0)

Arguments

  • <rShipTable>: Reference to the ship; this should be NewShipType.
  • <sModifier>: Type of modifier. Valid values are: MAXSPEED, ENGINEACCEL, ENGINEBRAKE, THRUSTER, THRUSTERACCEL, THRUSTERBRAKE, ROTATION, ROTATIONACCEL, ROTATIONBRAKE, WEAPONACCURACY, WEAPONDAMAGE, BULLETSPEED, DAMAGEAPPLIED, FIRERATE, and EXPIRETIME.
  • <fAggressive>: Multiplier in Aggressive stance.
  • <fEvasive>: Multiplier in Evasive stance.
  • <fNeutral>: Multiplier in Neutral stance.

Notes

  • A missile will inherit a ships current stance at the time the missile is launched.

Scope

Related Pages

Comments

Page Status

Updated Formatting? Yes
Updated for HWRM? Yes

⚠️ **GitHub.com Fallback** ⚠️