← All scenarios
SC-005autoAttack

Critical strike: Assassin Katar vs Boss

Tests critical hit path: crit ignores soft DEF (verify against rAthena which DEF components are skipped), applies critical multiplier (2.0 by default), and katar weapon type doubles base crit rate (verify rAthena handles this in stat resolution, not in damage formula).

criticalHitkatarCritDoublingcritIgnoresSoftDEFbossDefender
Action
autoAttack
Auto-attack in rolled mode (forced crit)
mode
rolled
seed
scenario-005-crit
forceCrit
true
context.mapType
pve

Actors

Assassin
actor · assassin · Lv70/50
attacker
Primary stats
str
60
agi
80
vit
30
int
1
dex
40
luk
60
Equipment
  • mainhand: jur · katar · +8 · ATK 125
Eddga
monster · Lv65
defender
Primary stats
str
92
agi
85
vit
55
int
45
dex
89
luk
65
brutefire 2largeboss
HP 456000 / 456000
Hard DEF 35
Hard MDEF 10
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.
crittotalDamage: pending

Force-crit mode lets us isolate crit math from probability. Verify: (1) softDEF not subtracted (or is — confirm rAthena behavior), (2) hardDEF still subtracted, (3) critical multiplier 2.0 applied at right step, (4) katar weapon's size multiplier vs Large is applied.

Show full expected JSON
{
  "breakdown": {
    "criticalMultiplier": 2,
    "softDEFSubtracted": false,
    "hardDEFSubtracted_present": true,
    "weaponSizeMultiplier_present": true
  }
}

Computed: DamageResult

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

Outcome
crit
1 hit · 770 damage
770× 2.00 crit
Pipeline breakdown
D-003 steps 2–13
WeaponratioATK226
× size × skill226
× (1 + 0.0% ATK%)226
+ StatusATK (159)385
× 1.00 element385
× (1 + 0.0% race/elem/size/class)385
× 2.00 crit770
− 0 hard DEF770
soft DEF bypassed (106)770
× (1 − 0.0% taken%)770
+ MasteryATK (0)770
floor + min(1)770
Inputs
From attacker / defender ResolvedStats
StatusATK159
WeaponATK226
EquipATK0
MasteryATK0
Size mult1.00×
Element mult1.00×
Race%0.0%
Element%0.0%
Size%0.0%
Class%0.0%
Taken%0.0%

Hits (1): crit★ 770