← All scenarios
MAG-001skill

Holy Light Lv5 vs Undead lv4 (massive element advantage)

Verifies the upper end of the element table. Holy attacking Undead lv4 should be the strongest single-multiplier interaction in the game (typically 175%+). If this number is wrong, the table lookup is wrong.

magicalDamageelementTableholyVsUndeadhighMultiplier
Action
skill
AL_HOLYLIGHT Lv1 in expected mode
skillId
AL_HOLYLIGHT
skillLevel
1
mode
expected
context.mapType
pve

Actors

Acolyte
player · acolyte · Lv35/30
attacker
Primary stats
str
1
agi
10
vit
30
int
40
dex
30
luk
20
Equipment
  • mainhand: mace · mace_1h · +4 · ATK 37 · MATK 0
Wraith
monster · Lv73
defender
undeadundead 4mediumnormal
HP 6582 / 6582
Hard DEF 12
Hard MDEF 25
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.
hittotalDamage: pending

Holy Light is fixed at Lv1 with skill multiplier 125%. Element multiplier (Holy vs Undead lv4) should be ~175% per the table. Combined effect dominates over MDEF subtraction — this is the 'holy bomb' interaction every priest knows.

Show full expected JSON
{
  "breakdown": {
    "category": "magical",
    "skillMultiplier": 1.25,
    "elementMultiplier_expectedRange": [
      1.5,
      2
    ],
    "hardMDEFSubtracted_present": true,
    "softMDEFSubtracted_present": true,
    "_note": "If the element multiplier falls outside the expected range, the element table is loaded incorrectly."
  }
}

Computed: MagicalDamageResult

Server-evaluated by calculateMagicalDamage() from @ro/core.

Outcome
hit
1 hit · 170 damage total · 170 per hit
170(1×170)
Pipeline breakdown
D-002 magical pipeline
baseMATK65
× (1 + 0.0% MATK%)65
× 1.45 skill94.25
× 2.00 element188.5
× (1 + 0.0% race/elem/size/class)188.5
− hard MDEF188.5
− soft MDEF170.5
× (1 − 0.0% taken%)170.5
floor + min(1) per hit170
× 1 hit170
Inputs
From attacker / defender ResolvedStats
StatusMATK65
WeaponMATK0
EquipMATK0
Skill mult1.45×
Element mult2.00×
Race%0.0%
Element%0.0%
Size%0.0%
Class%0.0%
Taken%0.0%

Each magical hit is identical in expected mode (no per-hit variance).