← All scenarios
MAG-007autoAttackdraft

Aspersio endow — auto-attack element switches from Neutral to Holy

Tests element-conversion buffs. Aspersio is a Priest skill that endows a weapon with Holy element for ~3 minutes. The attack should switch element from the weapon's stored element (Neutral) to Holy. Critically — the weapon's stored element field should NOT change; the active Effect provides the override at calculation time.

physicalDamageelementConversionendoweffectOverridesWeaponElement
Action
autoAttack
Auto-attack in expected mode
mode
expected
context.mapType
pve

Actors

Knight (Aspersio'd)
player · knight · Lv75/55
attacker
Primary stats
str
80
agi
40
vit
60
int
5
dex
40
luk
15
Equipment
  • mainhand: claymore · sword_2h · +7 · ATK 180
Active effects
  • aspersio
Ghoul (Undead lv1, Undead race)
monster · Lv40
defender
undeadundead 1mediumnormal
HP 1380 / 1380
Hard DEF 18
Hard MDEF 10
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.
hittotalDamage: pending

Critical assertions: (a) breakdown.attackElement should be 'holy', NOT 'neutral'. (b) elementMultiplier should be Holy-vs-Undead-lv1 (~125%), NOT Neutral-vs-Undead-lv1. (c) The weapon's stored element remains 'neutral' — verify by inspecting the Actor after the calculation.

Show full expected JSON
{
  "breakdown": {
    "attackElement": "holy",
    "elementMultiplier_expectedRange": [
      1,
      1.5
    ],
    "_weaponElementUnchanged": "neutral"
  }
}

Computed: DamageResult

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

Outcome
hit
1 hit · 493 damage
493
Pipeline breakdown
D-003 steps 2–13
WeaponratioATK303
× size × skill303
× (1 + 0.0% ATK%)303
+ StatusATK (194)497
× 1.00 element497
× (1 + 0.0% race/elem/size/class)497
crit none497
− 0 hard DEF497
− 4 soft DEF493
× (1 − 0.0% taken%)493
+ MasteryATK (0)493
floor + min(1)493
Inputs
From attacker / defender ResolvedStats
StatusATK194
WeaponATK303
EquipATK0
MasteryATK0
Size mult1.00×
Element mult1.00×
Race%0.0%
Element%0.0%
Size%0.0%
Class%0.0%
Taken%0.0%

Hits (1): hit 493