← All scenarios
SC-004autoAttack

Card conditional bonus: Hydra Card vs Demi-Human player

Tests conditional Modifier evaluation. Hydra Card is '+20% damage to Demi-Human'. Same attack against a non-Demi-Human target should NOT include the bonus. Verifies the condition predicate language.

conditionalModifierraceConditiondamageDealtScope
Action
autoAttack
Auto-attack in expected mode
mode
expected
context.mapType
pvp

Actors

Thief
actor · thief · Lv40/40
attacker
Primary stats
str
40
agi
50
vit
15
int
1
dex
30
luk
15
Equipment
  • mainhand: main_gauche · dagger · +7 · ATK 43 · 1 card
Enemy Player (Thief)
player · Lv40
defender
Primary stats
str
30
agi
50
vit
20
int
1
dex
30
luk
15
demihumanneutral 1mediumnormal
HP 1200 / 1200
Hard DEF 15
Hard MDEF 0
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.
hittotalDamage: pending

Verify that Hydra bonus applies (defender is demihuman). Compare against an identical scenario with defender.race='brute' — bonus should NOT apply.

Show full expected JSON
{
  "breakdown": {
    "damageDealtMultipliers": {
      "race.demihuman": 1.2
    }
  }
}

Computed: DamageResult

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

Outcome
hit
1 hit · 129 damage
129
Pipeline breakdown
D-003 steps 2–13
WeaponratioATK77
× size × skill57.75
× (1 + 0.0% ATK%)57.75
+ StatusATK (87)144.75
× 1.00 element144.75
× (1 + 0.0% race/elem/size/class)173.7
crit none173.7
− 0 hard DEF173.7
− 44 soft DEF129.7
× (1 − 0.0% taken%)129.7
+ MasteryATK (0)129.7
floor + min(1)129
Inputs
From attacker / defender ResolvedStats
StatusATK87
WeaponATK77
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 129