Elona Wiki
Advertisement

The information on this page is based on Elona 1.22's source code.  Any changes in Elona Plus, Omake, etc will not be reflected.

Spell casting in Elona is based on a few factors, most of which are not a flat change in success.  The process itself is actually different for the player than from NPCs.

Player Casting Chance[]

  • Start by calculating the spell's "difficulty multiplier"
    • Start with a multiplier of 4
    • If the player is wearing medium armor, set the multiplier to
    • If the player is wearing heavy armor, set the multiplier to
    • If the multiplier is less than 4, set it to 4 (ie, at 40+ medium/65+ heavy armor)
    • If the player is riding something, increase the multiplier by 4
    • If the player is casting Wish, increase the multiplier by their Wish Level
    • If the player is casting Wizard's Harvest, increase the multiplier by
  • Calculate the base casting chance

  • Adjust the casting chance to the armor-appropriate limit
    • If the player is wearing heavy armor and the base casting chance is > 80, set it to 80
    • If the player is wearing medium armor and the base casting chance is > 92, set it to 92
    • Otherwise, if the base casting chance is > 100, set it to 100
  • If the player is dual-wielding, subtract 6
  • If the player is equipped with a shield, subtract 12
  • If the casting chance is now < 0, set it to 0

The final number is the casting chance as seen in your spell list.

NPC Casting Chance[]

If the caster is not riding anything they will always have a 95% casting chance.

If they are riding something

  • Calculate
  • If the Riding Factor is < 0, set it to 0
  • If the Riding Factor is > 30, set it to 30
  • The casting chance will be 95 - Riding Factor.  This gives it a range of 65 at 0 riding up to 95 at 60+ riding.
Advertisement