Accuracy Formula

From Fly For Sky Wiki
Jump to: navigation, search

When a player or monster attacks, the game uses a formula to calculate if the hit lands or if it misses. The formula is not readily available in-game, so this page is the only place to find it.
You may need to read carefully so that you understand what is written.
Letters and words are used to denote various parts of the formula, like this: "X = (Player's INT)/100". What this means is that when you see "X" in the formula, all it means is that you take your INT, divide it by 100, and put that number where you see "X".
When you see Parenthesis ( "(" and ")" ) and brackets ( "[" and "]" ), all it means is that the stuff in parenthesis and brackets happens before the stuff outside them.
If you took any Algebra classes, simply follow the rules of operations.

The Formula

The formula is actually two; one formula is used for Player VS Player combat, and another formula is used for Player VS Monster combat.
The stat 'Parry' is referenced in this formula. Parry is calculated as follows: The player's (or monster's) DEX is divided by 2. This number is then added with any +Parry from equipment and buffs to produce a final Parry value, which is used in the Accuracy Formula.

Player VS Player

To help clarify references to Player 1 and Player 2, please take note of the following:

  • Player 1 is attacking, and
  • Player 2 is being attacked

X = [ ( (Player 1's DEX * 1.6) / (Player 1's DEX + Player 2's Parry ) ) * 1.2 * (Player 1's Level * 1.2 / ( Player 1's Level + Player 2's Level) ) * 100]
HitRate = X + (Attacker's "Hit+%")[1]

If HitRate is > 96[2]
HitRate = 96

R = (Random Value between 1 and 100)
If R < HitRate
The hit lands.
If R > HitRate
The hit misses.

Player VS Monster

There are two different "X" values depending on if the player is attacking, or if the monster is attacking.

If the Player is attacking:
X = [ [b]([/b] (Player's DEX * 1.6) / ( Player's DEX + Monster's Parry ) [b])[/b] * 1.5 * [b]([/b]Player's Level * 1.2 / ( Player's Level + Monster's Level ) [b])[/b] * 100][1]
Otherwise, if the Player is being attacked:
X = [ [b]([/b] (Monster's DEX * 1.5) / ( Monster's DEX + Player's Parry ) [b])[/b] * 2 * [b]([/b]Monster's Level * 0.5 / ( Monster's Level + Player's Level * 0.3 ) [b])[/b] * 100][1]

If HitRate is > 96
HitRate = 96[2]

R = (Random Value between 1 and 100)
If R < HitRate
The hit lands.
If R > HitRate
The hit misses.

  1. 1.0 1.1 1.2 If you open up your character's information window (hotkey: H), the "Accuracy" section is simply all of your "Hit+%" added up.
  2. 2.0 2.1 Essentially, this means accuracy is capped at 96%.