← All scenarios
CARD-009autoAttack

Layered conditions — '+50% damage vs Boss-class Demon-race in PvE only'

A real-world-flavored card with AND of three conditions: class=boss, race=demon, mapType=pve. Tests that all three must match. Four variants flip each condition off in turn — exactly one variant should have the bonus active.

conditionalModifiernestedAndConditiontripleConditionInteraction
Action
autoAttack
Auto-attack in expected mode
mode
expected

Actors

Demon Slayer build
player · Lv90
attacker
Primary stats
str
90
agi
40
vit
60
int
1
dex
50
luk
20
Equipment
  • mainhand: demon_bane_blade · sword_2h · +8 · ATK 200 · 1 card
Baphomet (Boss, Demon, large)
monster · Lv81
defender
demonshadow 1largeboss
HP 668000 / 668000
Hard DEF 30
Hard MDEF 15
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.
Show full expected JSON
{
  "propertyAssertions": [
    "damage(all match) is the unique highest of the four variants",
    "damage(not boss) ≈ damage(not demon) ≈ damage(not pve) — all three failure variants produce the same baseline",
    "(damage(all match) - damage(any failure)) / damage(any failure) ≈ 0.50 (within element/DEF rounding)"
  ]
}

Computed: DamageResult

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

Outcome
hit
1 hit · 779 damage
779
Pipeline breakdown
D-003 steps 2–13
WeaponratioATK398
× size × skill398
× (1 + 0.0% ATK%)398
+ StatusATK (232)630
× 1.25 element787.5
× (1 + 0.0% race/elem/size/class)787.5
crit none787.5
− 0 hard DEF787.5
− 8 soft DEF779.5
× (1 − 0.0% taken%)779.5
+ MasteryATK (0)779.5
floor + min(1)779
Inputs
From attacker / defender ResolvedStats
StatusATK232
WeaponATK398
EquipATK0
MasteryATK0
Size mult1.00×
Element mult1.25×
Race%0.0%
Element%0.0%
Size%0.0%
Class%0.0%
Taken%0.0%

Hits (1): hit 779

Variant matrix · 4 cells

Each cell re-applies the variant's overrides to the base scenario and re-runs the same pipeline that produced the single result above.

class × race
Highest in row is highlighted emerald; lowest rose. Hover any cell to see the full variant label.
class \ racedemonbrute
boss779779
normal779
Property assertions
Pattern-matched checks from the scenario's expected. ⊙ marks assertions the parser doesn't recognize (the raw string is shown so devs can verify by eye).
  • damage(all match) is the unique highest of the four variants
  • damage(not boss) ≈ damage(not demon) ≈ damage(not pve) — all three failure variants produce the same baseline
    779 vs 779 (Δ 0)
  • (damage(all match) - damage(any failure)) / damage(any failure) ≈ 0.50 (within element/DEF rounding)