← All scenarios
STATUS-007resolveStatsOnly

maxStacks cap — Earth Spike repeated past cap stays at maxStacks

An Effect with maxStacks=5 should never exceed 5 stacks regardless of how many times it's applied. Tests that the schema's stacks field never exceeds maxStacks. (Note: enforcement is shared between caller (on apply) and library (on read) — both should respect it.)

maxStacksstackCapstackIntensity
Action
resolveStatsOnly
Stat resolution only — no damage computation

Actors

Stacked-debuff target
monster · Lv70
defender
bruteearth 1mediumnormal
Active effects
  • armor_break×5(1 modifier)
HP 8000 / 8000
Hard DEF 20
Hard MDEF 10
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.

If the library exposes derived defender stats, hardDEF should be (base hardDEF - 15). resolveStatsOnly typically focuses on the attacker, but a defender-side version would show the debuff stacking. Schema validation must reject ANY scenario where stacks > maxStacks (currently checked via the maxStacks field — verify the Zod schema enforces it; if not, add a refinement).

Show full expected JSON
{
  "_schemaGap": "Check schemas/effect.ts: does ActiveEffect's superRefine enforce stacks <= maxStacks? If not, add it before relying on this scenario."
}
Computation deferred

Action resolveStatsOnly is not yet implemented in this library. Lands in later.

This action kind has no handler yet.