Formula Battle Per Class (Job)

📑 Table of Contents

  1. Introduction

  2. Casting Time Formula

  3. Attack Speed Formula (ASPD)

  4. Skill Damage Formula

  5. SP Cost Formula

  6. Experience Formula

  7. Per-Class Deep Dive

  8. Comparison Table


Introduction

Each class in rAthena has unique formulas for:

  • Casting Time - Time to cast magic skills

  • ASPD (Attack Speed) - Attack speed

  • Skill Damage - Damage produced by skills

  • SP Cost - SP cost for skills

  • Experience - EXP that can be collected

This documentation explains ALL formulas per class with concrete calculation examples.


Casting Time Formula

General Cast Time Formula

Config Constants

Casting Time Calculation Examples

Scenario 1: Mage with DEX=100, INT=50

Scenario 2: High Wizard with DEX=200, INT=100 (High Investment)

Scenario 3: For Instacast (0 ms casting)

Casting Time Per Class

Class
Stat Focus
Typical DEX
Typical INT
Cast Time (2s skill)
Notes

Mage

INT > DEX

60-80

80-120

1500-1800ms

Hybrid

High Wizard

INT >> DEX

100-150

120-180

500-1200ms

Better cast

Priest

INT > DEX

50-80

80-120

1500-1800ms

Support cast

Wizard

INT > DEX

60-80

80-120

1500-1800ms

Hybrid

Archer

DEX >> INT

100-150

30-50

VERY LONG

Cannot instacast

Hunter/Sniper

DEX >> INT

120-180

30-50

VERY LONG

Pure physical

Swordsman/Knight

STR >> INT

40-60

20-40

VERY LONG

Pure physical

Merchant

STR > INT

50-80

20-40

VERY LONG

Pure physical


Attack Speed Formula (ASPD)

General ASPD Formula

ASPD Calculation Example

Scenario: Swordsman with Sword (delay=40ms)

ASPD Per Class

Class
Typical AGI
Typical ASPD
Weapon Type
Notes

Swordsman/Knight

50-80

130-160

1H Sword, Spear

Moderate speed

Merchant/Whitesmith

50-80

130-160

Axe, Sword

Moderate speed

Thief/Assassin

80-130

160-190

Dagger, Sword

FAST

Assassin Cross

100-140

180-200

Dual Dagger

VERY FAST

Archer/Hunter

80-120

160-185

Bow

Ranged speed

Sniper

100-140

180-200

Bow, Gun

VERY FAST

Mage/Wizard

50-70

120-140

None

SLOW

Priest/HP

50-70

120-140

Mace

SLOW


Skill Damage Formula

Generic Skill Damage Formula

Class-Specific Skill Damage

1. Swordsman / Knight (Physical, STR-based)

2. Mage / Wizard (Magical, INT-based)

3. Archer / Hunter / Sniper (Arrow-based, DEX-based)

4. Thief / Assassin / Assassin Cross (Physical, Dual-wield + Critical)

5. Acolyte / Priest / High Priest (Hybrid: Magic + Physical)

6. Merchant / Blacksmith / Whitesmith (Physical + Special bonus)


SP Cost Formula

General SP Cost Formula

SP Cost Examples Per Class

Mage/Wizard (Magic Skill)

Priest (Heal)

Archer (Arrow Skills)


Experience Formula

General EXP Formula

EXP Rate Per Class

All classes receive the same EXP from monsters. Differences occur from:

  1. Efficiency - Kill speed

  2. Group Bonus - Party multiplier

  3. Field Bonuses - Zone-specific bonuses

EXP Calculation Examples

Monster: Poring (Level 1)

Monster: Andres (Level 20)


Per-Class Deep Dive

1. 🗡️ SWORDSMAN / KNIGHT / LORD KNIGHT

Key Stats:

  • Primary: STR, VIT

  • Secondary: AGI, DEX

  • Weak Point: INT (low magic defense)

Casting:

  • Cannot cast magic (INT too low)

  • Skill delay depends on AGI

Damage Formula:

Skill Specialty:

  • Bash - Single target physical

  • Magnum Break - AoE fire attack

  • Parry - Defense skill

  • Twohand Sword - Dual wielding bonus

ASPD:


2. 🔥 MAGE / WIZARD / HIGH WIZARD

Key Stats:

  • Primary: INT, VIT

  • Secondary: DEX

  • Weak Point: STR, AGI (physical defense low, move slow)

Casting:

Damage Formula:

ASPD:

Skill Specialty:

  • Fireball - Single target fire damage

  • Storm Gust - AoE ice damage, freeze

  • Frost Diver - Freeze skill

  • Lightning Bolt - Single target


3. 🏹 ARCHER / HUNTER / SNIPER

Key Stats:

  • Primary: DEX, AGI

  • Secondary: STR

  • Weak Point: INT, VIT (magic defense + HP low)

Casting:

Damage Formula:

ASPD:

Skill Specialty:

  • Arrow Shower - AoE physical

  • Aimed Shot - High damage single

  • Traps - Utility damage

  • Ankle Snare - Immobilize


4. ⛪ ACOLYTE / PRIEST / HIGH PRIEST

Key Stats:

  • Primary: INT, VIT

  • Secondary: DEX, LUK

  • Weak Point: STR, AGI (very weak physical)

Casting:

Healing Formula:

Damage Formula:

ASPD:

Skill Specialty:

  • Heal - HP recovery

  • Resurrection - Revive

  • Magnus Exorcismus - Holy AoE, extra vs undead

  • Turn Undead - Special vs undead only

  • Blessing - Buff spell


5. 💰 MERCHANT / BLACKSMITH / WHITESMITH

Key Stats:

  • Primary: STR, VIT

  • Secondary: AGI, DEX

  • Weak Point: INT (no magic)

Casting:

Damage Formula:

ASPD:

Skill Specialty:

  • Mammonite - High single target (Blacksmith)

  • Power Thrust - Buff + damage

  • Weaponry Research - ATK bonus

  • Manufacturing - Production skill

  • Acid Demonstration - Equipment break (Whitesmith)


6. 🗡️⚫ THIEF / ASSASSIN / ASSASSIN CROSS

Key Stats:

  • Primary: DEX, AGI

  • Secondary: STR, LUK

  • Weak Point: INT, VIT (glass cannon)

Casting:

Damage Formula:

ASPD:

Skill Specialty:

  • Sonic Blow - Multi-hit physical (8 hits!)

  • Back Stab - Critical/backstab

  • Venom Knife - Poison damage

  • Dancing Blade - AoE physical

  • Assassination - High single target


Comparison Table

📊 Class Comparison Matrix

Aspect
Swordsman
Mage
Archer
Acolyte
Merchant
Thief

Cast Time

N/A

500-1500ms

N/A

800-1500ms

N/A

N/A

ASPD

140-160

100-120

160-190

100-120

130-160

170-200+

Damage Type

Physical

Magic

Physical/Arrow

Magic/Holy

Physical

Physical

Single Target DMG

Medium-High

High

High

Low

Medium-High

VERY HIGH

AoE DMG

Medium

High

High

Medium

Medium

Medium

Survivability

Very High

Medium

Low

High

Very High

Low

Mobility

Medium

Low

Medium

Low

Medium

HIGH

Complexity

Medium

High

Medium

Medium

Low

High

Party Value

High

High

High

VERY HIGH

Medium

High

💪 Damage Per Second Comparison

Base Stats Level 50:

  • All have 200 Base HP/MP

  • All equipped with level-appropriate gear

Class
Typical DPS
Peak DPS
Sustained

Swordsman

500-700

1000+

Medium

Mage

400-600

1500+

High (with cooldown)

Archer

600-800

1200+

High

Acolyte

200-300

800+ (damage)

Support

Merchant

500-700

1000+

Medium

Thief

700-1000

2000+

HIGH


Formula Summary Table

🔢 Mathematical Formulas Quick Reference

Formula
Equation
Usage

Cast Time

BaseCast × (1 - (DEX×2 + INT) / 530)

Magic skills

ASPD

200 / (1 + AGI/200)

Attack speed

Physical DMG

(STR×ratio + WEAPON_ATK) × SKILL_MULT × SIZE_FIX

Physical skills

Magic DMG

(INT×ratio + MATK) × SKILL_MULT × ELE_FIX

Magic skills

Heal

(INT×1.5 + MATK) × SKILL_MULT

Healing

DEF Reduction

DAMAGE × (100 - DEF) / 100

Defense calc

MDEF Reduction

DAMAGE × (100 - MDEF) / 100

Mag defense calc

Base EXP

(MOB_LV × 10 + 100) × 2 × rate / 100

Experience

SP Cost

BASE_SP × (1 - reduction / 100)

Skill cost

Critical DMG

BASE_DMG × 1.4

Critical bonus (Renewal)


Config Constants Reference

Skill Configuration Constants

Battle Configuration Constants


Key Takeaways

Casting Time - Only for Mage/Wizard/Acolyte (INT-based) ✅ ASPD - AGI stat, all classes affected ✅ Damage - Varies based on class stat focus (STR/INT/DEX) ✅ SP Cost - From skill database, can be reduced with bonus ✅ EXP - Same for all classes, differs in efficiency

Most Important:

  1. Mage: Cast Time & Damage

  2. Thief: ASPD & Critical

  3. Archer: DEX & ASPD

  4. Priest: INT & Healing Power

  5. Swordsman: STR & VIT


Last Updated: 2024-2025 Format: Wiki Player Guide - Formula Reference

Last updated