Difference between revisions of "ChangeStats"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "= {83} {{IE_83}} = Change the stats of affected units. See Also: {92} {{IE_92}} {{UnitID}} *0x00 makes it affect all units on the field. {{Mult...")
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= {83} {{IE_83}} =
 
= {83} {{IE_83}} =
Change the stats of affected units.
+
{{IE_83_ex}}
 +
 
 +
{{IE_83_desc}}
  
  
 
See Also: [[Event_Instruction_92|{92} {{IE_92}}]]  
 
See Also: [[Event_Instruction_92|{92} {{IE_92}}]]  
 
 
{{UnitID}}
 
*0x00 makes it affect all units on the field.
 
  
  
Line 14: Line 12:
  
 
== Stat : Byte (hex) ==
 
== Stat : Byte (hex) ==
*0x00 = blank?
+
*0x00 = HP (no effect if InflictStatus was also used in the same event)
 
*0x01 = blank?
 
*0x01 = blank?
 
*0x02 = CT
 
*0x02 = CT
Line 20: Line 18:
 
*0x04 = Faith
 
*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) ==
 
== Value : Half-Word (signed) ==
 
Adds this value to the previously existing one.
 
Adds this value to the previously existing one.

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.