Difference between revisions of "ChangeStats"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (Xifanie moved page Event Instruction 83 to ChangeStats)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  
 
== Stat : Byte (hex) ==
 
== Stat : Byte (hex) ==
*0x00 = HP
+
*0x00 = HP (no effect if InflictStatus was also used in the same event)
 
*0x01 = blank?
 
*0x01 = blank?
 
*0x02 = CT
 
*0x02 = CT

Latest revision as of 03:22, 7 May 2021

{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.