← All scenarios
SC-012calculateDPS

Loadout comparison: two builds for the same Hunter

Tests the compareLoadouts utility. Same character stats, two different equipment setups, computes expected DPS for each. This is what build calculators do — and it's the most user-facing function in the simulator.

compareLoadoutsDPSexpectedDamagePerHitASPD
Action
calculateDPS
Analytical DPS computation

Actors

Hunter
actor · hunter · Lv75/50
baseCharacter
Primary stats
str
30
agi
70
vit
30
int
20
dex
90
luk
30
Expected output
From the scenario fixture. Numerical values marked as null are placeholders pending rAthena verification.
Show full expected JSON
{
  "propertyAssertions": [
    "loadoutA_vs_demihuman > loadoutA_vs_brute (Hydra is a no-op vs brute)",
    "The 'best' loadout depends on the target — that's the whole point of compareLoadouts"
  ],
  "matrix": {
    "loadoutA_vs_demihuman": {
      "dps": null,
      "note": "Hydra cards apply; should be best vs demi"
    },
    "loadoutA_vs_brute": {
      "dps": null,
      "note": "Hydra cards inactive; weaker than expected"
    },
    "loadoutB_vs_demihuman": {
      "dps": null,
      "note": "Skeleton Worker applies (medium); higher than vs brute? maybe"
    },
    "loadoutB_vs_brute": {
      "dps": null,
      "note": "Skeleton Worker applies (medium)"
    }
  }
}

Computed: LoadoutComparison · 2 loadouts × 2 targets

Server-evaluated by compareLoadouts(). Each cell runs the auto-attack physical pipeline in expected mode and multiplies by the analytical hits-per-second derived from ASPD.

DPS matrix
Highest DPS per target highlighted emerald. Lower row labels are the full loadout description.
loadout \ targetPvP Demi-Human mediumPvE Brute medium
Composite Bow + Hydra cards (vs Demi-Human PvP build)
1,709.4dps
547 × 3.13/s
1,221.9dps
391 × 3.13/s
Gakkung Bow + Skeleton Worker cards (vs Medium PvE build)
1,506.3dps
482 × 3.13/s
1,506.3dps
482 × 3.13/s
Winner per target
The "best loadout" depends on the target — that's the whole point of compareLoadouts().
  • PvP Demi-Human mediumComposite Bow + Hydra cards (vs Demi-Human PvP build)
  • PvE Brute mediumGakkung Bow + Skeleton Worker cards (vs Medium PvE build)