← All scenarios
MAG-006skill

Storm Gust Lv10 — 10-hit accumulation vs single boss

Tests multi-hit magical skill behavior. Storm Gust does up to 10 hits per cast, each independently calculated. Each hit re-applies element multiplier and MDEF subtraction. Verifies the library returns 10 distinct damage instances and totalDamage is their sum.

magicalDamagemultiHitSkillstormGustperHitIndependence
Action
skill
WZ_STORMGUST Lv10 in expected mode
skillId
WZ_STORMGUST
skillLevel
10
mode
expected
context.mapType
pve

Actors

High Wizard
player · high_wizard · Lv90/65
attacker
Primary stats
str
1
agi
30
vit
30
int
99
dex
70
luk
20
Equipment
  • mainhand: staff_of_wing_plus10 · staff · +10 · ATK 60 · MATK 110
Atroce (boss, fire-element brute)
monster · Lv81
defender
brutefire 1largeboss
HP 1075000 / 1075000
Hard DEF 38
Hard MDEF 50
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.
hittotalDamage: pendinghitCount: 10

Each of the 10 hits should: (a) apply Water-vs-Fire element multiplier (1.50x table), (b) subtract hardMDEF + softMDEF independently, (c) apply size modifier (Large), (d) accumulate to totalDamage. The library should return DamageResult with hits[] array, each hit having its own breakdown.

Show full expected JSON
{
  "breakdown": {
    "category": "magical",
    "perHitBreakdownArray_length": 10,
    "elementMultiplierPerHit": 1.5,
    "mdefSubtractedPerHit": true,
    "totalDamage_equals_sum_of_per_hit_damages": true
  },
  "triggeredEffects": [
    {
      "effectId": "frozen",
      "appliedTo": "target",
      "chance": 0.65,
      "note": "Storm Gust applies Frozen on each hit with cumulative chance. The library returns this as a trigger candidate per D-015 — actual application is the caller's responsibility."
    }
  ]
}

Computed: MagicalDamageResult

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

Outcome
hit
10 hits · 12,250 damage total · 1,225 per hit
12,250(10×1,225)
Pipeline breakdown
D-002 magical pipeline
baseMATK166
× (1 + 0.0% MATK%)166
× 5.00 skill830
× 1.50 element1,245
× (1 + 0.0% race/elem/size/class)1,245
− hard MDEF1,245
− soft MDEF1,225
× (1 − 0.0% taken%)1,225
floor + min(1) per hit1,225
× 10 hits12,250
Inputs
From attacker / defender ResolvedStats
StatusMATK166
WeaponMATK0
EquipMATK0
Skill mult5.00×
Element mult1.50×
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).