Difference between revisions of "Value:Target"

From FF5 Hacking Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
Targeting using a spell can take one of the following values:
 
Targeting using a spell can take one of the following values:
  
{{Table bitwise | Delay*| | Roulette | Target enemy (by default) | Side selectable | Target selectable | Hits all targets | Multi-target optional}}
+
{{Table bitwise | Delay*| Delay* | Roulette | Target enemy (by default) | Side selectable | Target selectable | Hits all targets | Multi-target optional}}
  
 
Delay uses lowest 2 bits as index in a table with values 0, 10, 20, 30. The actual delay is calculated as Delay * 10  
 
Delay uses lowest 2 bits as index in a table with values 0, 10, 20, 30. The actual delay is calculated as Delay * 10  

Latest revision as of 12:49, 3 October 2022

Targeting using a spell can take one of the following values:

Bit Bin Hex Status
7 10000000 0x80 Multi-target optional
6 01000000 0x40 Hits all targets
5 00100000 0x20 Target selectable
4 00010000 0x10 Side selectable
3 00001000 0x08 Target enemy (by default)
2 00000100 0x04 Roulette
1 00000010 0x02 Delay*
0 00000001 0x01 Delay*

Delay uses lowest 2 bits as index in a table with values 0, 10, 20, 30. The actual delay is calculated as Delay * 10