Changes

Jump to navigation Jump to search

FF7/DamageFormula

153 bytes added, 16:16, 20 May 2021
m
0: Physical Accuracy Check: There is an enemy check on the Dex bonus that I didn't notice before. Physical Chance is unaffected.
Physical Chance = (Actor's Dex >> 2) + action physical hit rate
If Actor is enemy then Actor's evade = Actor's Physical evadeelse Actor's evade = (Actor's Dex >> 2) + Actor's Physical evadeEnd IfIf Target is enemy then Target's evade = Target's Physical evadeElse Target's evade = (Target's Dex >> 2) + Target's Physical evadeEnd If
If HitChance = -1 Then
Miss Chance = (([0..65535] * 99) / 65535) + 1 ;essentially [1..100]
if HitChance > < Miss Chance then Set Hit flagElse
Set Miss flag
End IFIf</pre>
====Check_For_Cover() {====
This is where the game checks if the target is covered under a "cover"ing ally.
It only applies to Player Characters
It might be more complicated that than I'm seeing, but that is definitely ONE of its functions}
====FuryAdjust(HitChance) {==== <pre> If HitChance < 255 then
If Actor is in Fury Status
HitChance = HitChance - ((HitChance * 3) / 10)
End If
End If
return HitChance}</pre>
===1: Magical Accuracy Check===
6
edits

Navigation menu