Difference between revisions of "FF7/DamageFormula"

From Final Fantasy Inside
< FF7
Jump to navigation Jump to search
my_wiki>Akari
(Damage Formula's description)
my_wiki>Akari
(Damage Formula's description)
Line 1: Line 1:
 
== Damage Formula's description ==
 
== Damage Formula's description ==
 +
  
 
0xA4:
 
0xA4:
 +
 
Prepare Function 0x0
 
Prepare Function 0x0
  
Line 9: Line 11:
  
 
Damage Function 0x1
 
Damage Function 0x1
 +
  
  
 
0xA5:
 
0xA5:
 +
 
Prepare Function 0x0
 
Prepare Function 0x0
  
Line 19: Line 23:
  
 
Damage Function 0x1
 
Damage Function 0x1
 +
  
  
 
0xA7:
 
0xA7:
 +
 
Prepare Function 0x0
 
Prepare Function 0x0
  

Revision as of 06:59, 23 October 2008

Damage Formula's description

0xA4:

Prepare Function 0x0

Prepare Function 0x2

power_modifier = 1 + (((current_hp * 3) / max_hp) * power_modifier);

Damage Function 0x1


0xA5:

Prepare Function 0x0

Prepare Function 0x2

power_modifier = 1 + (((current_mp * 3) / max_mp) * power_modifier);

Damage Function 0x1


0xA7:

Prepare Function 0x0

Prepare Function 0x2

power_modifier = 0xa + (((number_of_kills / 0x80) * power_modifier) / 0x10)

Damage Function 0x1