← All scenarios
CARD-010autoAttack

Card vs same-scope Effect — '+10% ATK card' AND '+15% ATK from Cart Boost'

Tests that modifiers from DIFFERENT sources (Card vs Effect) in the SAME scope stack additively per D-005. The total atk.percent should be +25%, not (1.10)(1.15)=1.265.

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

Actors

Whitesmith with Cart Boost active
player · whitesmith · Lv85
attacker
Primary stats
str
90
agi
60
vit
50
int
30
dex
50
luk
15
Equipment
  • mainhand: two_hand_axe · axe_2h · +7 · ATK 160 · 1 card
Active effects
  • cart_boost_illustrative(1 modifier)
Generic target
monster
defender
formlessneutral 1mediumnormal
HP 999999 / 999999
Hard DEF 30
Hard MDEF 5
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.
hit
Show full expected JSON
{
  "breakdown": {
    "atkPercentSum": 0.25,
    "_assertion": "Must be 0.25, NOT 0.265. Modifier source (card vs effect) is irrelevant to stacking semantics — only scope matters."
  }
}

Computed: DamageResult

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

Outcome
hit
1 hit · 493 damage
493
Pipeline breakdown
D-003 steps 2–13
WeaponratioATK283
× size × skill212.25
× (1 + 25.0% ATK%)265.31
+ StatusATK (228)493.31
× 1.00 element493.31
× (1 + 0.0% race/elem/size/class)493.31
crit none493.31
− 0 hard DEF493.31
− 0 soft DEF493.31
× (1 − 0.0% taken%)493.31
+ MasteryATK (0)493.31
floor + min(1)493
Inputs
From attacker / defender ResolvedStats
StatusATK228
WeaponATK283
EquipATK0
MasteryATK0
Size mult0.75×
Element mult1.00×
Race%0.0%
Element%0.0%
Size%0.0%
Class%0.0%
Taken%0.0%

Hits (1): hit 493