← All scenarios
STATUS-008skill

Status condition predicate — '+25% damage while target is Frozen'

Tests the hasStatus condition predicate (D-009). A Modifier conditional on the defender having a specific Effect active. Variants: target frozen → bonus applies; target not frozen → bonus does not.

conditionalModifierhasStatusPredicatestatusInteraction
Action
skill
MG_LIGHTNINGBOLT Lv7 in expected mode
skillId
MG_LIGHTNINGBOLT
skillLevel
7
mode
expected
context.mapType
pve

Actors

Wizard with Frost Diver synergy card
player · wizard · Lv80
attacker
Primary stats
str
1
agi
20
vit
30
int
90
dex
65
luk
15
Equipment
  • mainhand: frost_synergy_staff · staff · +8 · ATK 60 · MATK 130 · 1 card
Target (frozen state varies)
monster · Lv75
defender
bruteearth 2mediumnormal
HP 6000 / 6000
Hard DEF 20
Hard MDEF 15
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.

For 'targetFrozen=true', add { id: 'frozen', ... } to defender.activeEffects. Per D-016, this also overrides the defensive element to Water lv1 — so this scenario layers two effects of being Frozen: (a) the matk.percent bonus from the card via hasStatus, (b) the Water defensive element change via elementOverride. Both should compound.

Show full expected JSON
{
  "propertyAssertions": [
    "damage(frozen) > damage(not_frozen)",
    "damage(frozen) reflects BOTH the +25% MATK and the Wind-vs-Water element advantage (per D-016)",
    "the ratio damage(frozen) / damage(not_frozen) should be roughly 1.25 * elementMultiplierAdvantage"
  ]
}

Computed: MagicalDamageResult

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

Outcome
hit
7 hits · 133 damage total · 19 per hit
133(7×19)
Pipeline breakdown
D-002 magical pipeline
baseMATK148
× (1 + 0.0% MATK%)148
× 1.00 skill148
× 0.25 element37
× (1 + 0.0% race/elem/size/class)37
− hard MDEF37
− soft MDEF19
× (1 − 0.0% taken%)19
floor + min(1) per hit19
× 7 hits133
Inputs
From attacker / defender ResolvedStats
StatusMATK148
WeaponMATK0
EquipMATK0
Skill mult1.00×
Element mult0.25×
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).

Variant matrix · 2 cells

Each cell re-applies the variant's overrides to the base scenario and re-runs the same pipeline that produced the single result above.

Sweep over targetFrozen
Highest in row is highlighted emerald; lowest rose. Hover any cell to see the full variant label.
onoff
133133
Property assertions
Pattern-matched checks from the scenario's expected. ⊙ marks assertions the parser doesn't recognize (the raw string is shown so devs can verify by eye).
  • damage(frozen) > damage(not_frozen)
  • damage(frozen) reflects BOTH the +25% MATK and the Wind-vs-Water element advantage (per D-016)
  • the ratio damage(frozen) / damage(not_frozen) should be roughly 1.25 * elementMultiplierAdvantage