[Dev-Blog] #2 - Elemental Resistances and Hitrate

Hi Florensia!

for players who have been playing Florensia for a long time, there have always been discussions about whether elemental resistances do anything. With this post, I’d like to clear up some of the myths surrounding that topic.


Before we dive deeper into how elemental resistances work, I’d like to point out a few things first:

  • This is the current state of the system as we inherited it when we took over development. That does not necessarily mean we agree with how everything works, nor that we intend to keep the system unchanged. Many systems in Florensia have flaws, and we plan to address them one by one.
  • The following explanations are accurate for version 2.5.4a, but they may not remain accurate in future patches. Keep that in mind if you are reading this post at a later date.
  • We purposely withhold from showing any formulas and will not disclose them.

To explain the effects of the elemental system, we first need to cover some basic concepts.

You may have noticed that skills in your skill menu (K) include an additional line indicating their element.

The following elements exist:

  • Physical
  • Poison
  • Fire
  • Ice
  • Lightning
  • Holy
  • Dark

Physical and Poison skills use your physical hit rate, while Fire, Ice, Lightning, Holy, and Dark skills use your magic hit rate.

Your character also has elemental resistances, which can be found in your character information window under “Resistance”.

Currently, there are no items that directly influence these stats. At the moment, elemental resistances can only be increased by allocating status points as follows:

  • Will and Wisdom increase Poison Resistance
  • Will and Dex increase Fire Resistance
  • Will and Dex increase Ice Resistance
  • Will and Dex increase Lightning Resistance
  • Will and Wisdom increase Holy Resistance
  • Will and Wisdom increase Dark Resistance

In addition to physical and magical defense, monsters also have elemental resistances.

When it comes to skills, Florensia internally classifies them into three categories:

  • Damage Skills
  • Curse Skills
  • Blessing Skills

However, not every skill that applies a debuff is classified as a Curse Skill. For example, Phantom Grief from Noble is classified as a Curse Skill, while Flow of Darkness from Saint is not. This distinction will become important later.

Internally, each skill also has two values assigned to it that are used during hit calculations:

  • A hit value (0–100)
  • An accuracy modifier value (0–100)

Now that the groundwork is covered, let’s take a look at how Florensia determines whether a skill hits and how elemental resistances affect that calculation.

To begin with, any skill with a hit value of 100 can never miss. One example is Lightning Shock from Noble. Those skip the whole calculation.

For all other skills, the following calculations are performed:

  1. The game first runs its internal base hit rate formula. This calculation uses:

    • The skill’s hit value
    • The target’s level
    • The target’s avoid value
    • The caster’s hit rate (depending on the skill type)
    • The caster’s level

    The formula also includes diminishing returns for both hit rate and avoid values.

  2. Depending on whether the caster is a player or a monster, additional modifiers are applied:

    1. If the caster is a player and more than 4 levels below the target, a penalty of -10% per level difference is applied, capped at -50%.

    2. If a lower-level monster attacks you, a modifier of -3% per level difference is applied, capped at -50%.

    3. If a higher-level monster attacks you, a modifier of +2% per level difference is applied, capped at +20%.

  3. The skill’s accuracy modifier value is then added to the calculation.
  4. For Curse Skills only, the target’s elemental resistance is incorporated as an additional modifier. Elemental resistances can range from -1.000 to +1.000. Negative elemental resistance increases the final hit chance, while positive elemental resistance decreases it.

After all calculations are completed, the game arrives at a final hit value between 0 and 100. The game then rolls a dice from 0 to 100. If the final hit value is higher than the roll, the skill successfully hits.


Example 1:

Skill:

  • Light Transition
  • 95 Hit Value
  • 10 Accuracy Modifier Value
  • Damage Skill Classification

Attacker:

  • Saint Level 45
  • 345 Magic Hit

Defender:

  • Skeleton King (Level 42)
  • 149 Avoid
  • -450 Holy Resistance (also has some other resistances but those do no matter here)

 

After Step 1, we end up with a value of ~86.

Since we’re higher level than the target, no penalty is applied in step 2.

In step 3, we add our accuracy modifier value of +10, which bumps us up to 96.

Because Light Transition is a damage skill, no elemental resistances are considered.

In the end, we have a 96% chance to hit the target.

Note: While the hit calculation did not include the negative holy resistances, the formula to calculate the damage dealt will include the resistance value and increase the damage.


Example 2:

Skill:

  • Phantom Grief
  • 95 Hit Value
  • 10 Accuracy Modifier Value
  • Curse Skill Classification

Attacker:

  • Noble Level 106
  • 1401 Magic Hit

Defender:

  • Steel Guard
  • 140 Avoid
  • 900 Dark Resistance

Following step 1 to 3, we end up with a value of 100.

Now, since Phantom Grief is classified as a curse skill, elemental resistances (here dark) are added to the calculation.

After including the 900 dark resistance Steel Guard has, we end up with a value of 11.

We therefore have a 11% chance to hit Steel Guard with Phantom Grief.


As mentioned at the beginning of this post, this is the current implementation of the system. We understand that none of this is really intuitive and might also be misleading at some points (why is Flow of Darkness classified as a Damage Skill and therefore doesn't respect dark resistances?).

However, we hope this breakdown helped clarify how the system currently works and cleared up some long-standing misconceptions surrounding elemental resistances.


Greetings

Jeremy

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more