ChangeStats

From Final Fantasy Hacktics Wiki
Revision as of 03:22, 7 May 2021 by Nyzer (talk | contribs) (→‎Stat : Byte (hex))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{83} ChangeStats

ChangeStats(xAU,xMT,xST,+VALUE)

Change the stats of affected units.


See Also: {92} InflictStatus


Affected Units : Byte (hex)

If Multi Targeting is set to x00:

  • Unit ID: ID of the unit specified in the ENTD.

If Multi Targeting is set to x01:

  • x00: Player's Team (blue)
  • x01: Player's Team (blue)
  • x02: All Enemy Teams (red/green/lightblue)
  • x03: All Enemy Teams (red/green/lightblue)
  • x04: All Teams


Multi Targeting : Byte (hex)

  • x00: One Target → Unit ID
  • x01: Various outcomes; see Affected Unit(s)
  • x02: Target All Teams


Stat : Byte (hex)

  • 0x00 = HP (no effect if InflictStatus was also used in the same event)
  • 0x01 = blank?
  • 0x02 = CT
  • 0x03 = Brave
  • 0x04 = Faith

Note: other stats can be edited, but this requires editing their Battle or World Stats directly with UnitAddress/WorldUnitAddress/LoadAddress/SaveAddress. Maybe Nyzer will make a brief tutorial on this some day, but until then if you need to know how, pester him about it.

Value : Half-Word (signed)

Adds this value to the previously existing one.