← All scenarios
SC-006resolveStatsOnly

Multiple buffs: Blessing + Increase AGI + Two-Hand Quicken stacking

Tests stat resolution with multiple stacking Effects. Blessing adds +10 STR/INT/DEX (flat). Increase AGI adds +DEX-relative AGI. Two-Hand Quicken adds ASPD%. Verifies that flat and percent Modifiers in the same scope stack correctly (additively for percent per D-005).

statResolutionmultipleEffectsadditivePercentStackingASPD
Action
resolveStatsOnly
Stat resolution only — no damage computation

Actors

Knight
actor · knight · Lv55/40
attacker
Primary stats
str
70
agi
40
vit
50
int
5
dex
25
luk
10
Equipment
  • mainhand: two_handed_sword · sword_2h · +7 · ATK 160
Active effects
  • blessing(3 modifiers)
  • increase_agi(2 modifiers)
  • two_hand_quicken(1 modifier)
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.

ASPD computation depends on the resolved AGI/DEX after buffs and the weapon, then applies the aspd.percent layer. Verify exact ASPD value against rAthena's status_calc_pc_ for a Knight at these stats with a 2H sword and Two-Hand Quicken active.

Show full expected JSON
{
  "resolvedPrimaries": {
    "str": 80,
    "agi": 52,
    "vit": 50,
    "int": 15,
    "dex": 35,
    "luk": 10
  },
  "aspdPipeline": {
    "stepsExpected": [
      "compute base ASPD from job + weapon + AGI + DEX",
      "add aspd.flat modifiers (Increase AGI gives +1)",
      "apply aspd.percent modifiers (Two-Hand Quicken gives +30%)",
      "cap at 193"
    ]
  }
}

Computed: ResolvedStats

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

Resolved primaries
After stat.* modifiers (D-005)
StatBaseResolvedΔ
STR7080+10
AGI4052+12
VIT50500
INT515+10
DEX2535+10
LUK10100
Combat secondaries
D-007
HIT93
FLEE109
Perfect Dodge1
CRIT4%
Crit damage2.00×
ASPDbase stubbed at 0193.00
MaxHP / MaxSPjob tables pending0 / 0
Physical ATK components
D-003
StatusATK181
WeaponATKPhase 3+275
EquipATK0
MasteryATK0
ATK%0.0%
Magical MATK components
D-007
StatusMATK39
WeaponMATKPhase 3+0
EquipMATK0
MATK%0.0%
Defenses
D-004
Hard DEF0
Soft DEF90
Hard MDEF0
Soft MDEF38
Conditional buckets
Pre-summed defender-keyed bonuses + deferred modifiers

No defender-keyed bonuses active.

Pending conditional modifiers: 0