Jump to content

Calculators

From SankoQuest Wiki
Revision as of 15:11, 8 July 2026 by GrizzledAlchemistb40f9cb5 (talk | contribs) (Adds Combat XP Calculator section: step-by-step damage×4/×1 formula, melee and Archery allocation tables, worked-example table (all arithmetic re-verified), GuideMethod entries, and the CXP7 open melee style-name-to-category mapping surfaced as a blocking caveat and BountyPrompt; Magic explicitly excluded from scope.)

Calculators

Calculators will use Cargo data and future price endpoints to answer skilling and crafting questions. For now, calculator pages should document formulas, assumptions, required data, and validation examples. The Combat XP Calculator below is the first section built out this way — documented reference math, not a live interactive tool.

Combat XP Calculator

Mechanic

This section documents the combat-hit XP formula precisely enough to compute XP from a known damage number and style choice — as a reference for hand calculation or a future Scribunto module, not as a live calculator on this page. All numbers below are gameplay-verified (in-game, 2026-07-08); the game's client code has no XP-per-hit data at all, so none of this comes from a datamine.

Scope: this formula is documented for melee and ranged (Archery) combat only. Magic combat's XP mechanism was not covered by this data and should not be assumed to follow the same rule — treat Magic combat XP as a separate open question.

Step 1: total XP per hit

Total combat-skill XP awarded on a hit = damage dealt × 4. This total is then allocated to one or more skills depending on the combat style, per the tables below. Confirmed by two examples: 1 damage → 4 XP total; 3 damage on a Strength-only melee style → 12 XP to Strength (3 × 4 = 12).

Step 2a: allocate by style — melee

Melee has four abstract combat styles. Note the caveat immediately below before applying this table.

Style (abstract category) Attack XP Strength XP Defense XP
Attack-only 4 × damage
Strength-only 4 × damage
Defense-only 4 × damage
Attack + Strength (split) 2 × damage 2 × damage

Open mapping caveat (blocks full melee calculation): the game's per-weapon combat style names — e.g. sword Stab/Lunge/Slash/Block, axe Chop/Hack/Smash/Block (see Combat's weapon-style table) — are not yet mapped to which of the four abstract categories above each one actually grants. Do not assume an OSRS-style mapping (e.g. that "Stab" = Attack-only) — this has not been confirmed for SankoQuest. Until a named style is matched to a category by direct testing, melee XP can only be computed if the abstract category is already known some other way.

Step 2b: allocate by style — Ranged (Archery)

Ranged/Archery has three combat styles, matching the names on Archery's style table:

Style Archery XP Defense XP Confirmation
Accurate 4 × damage (presumed) Inferred, not directly confirmed
Rapid 4 × damage (presumed) Inferred, not directly confirmed
Longrange 2 × damage 2 × damage Confirmed. Example: 1 damage → 2 Archery + 2 Defense

Unlike melee, Archery has no separate weapon-style-name layer to resolve — Accurate/Rapid/Longrange are themselves the selectable combat styles, so no CXP7-style mapping question applies here.

Step 3: Stamina, always

Every combat hit — melee or Archery, any style — also grants Stamina XP = damage dealt × 1, in addition to (not instead of) the skill XP from Step 2. Confirmed by two examples: 1 damage (→ 4 XP Strength) also gave 1 Stamina XP; 2 damage (→ 8 XP Strength) also gave 2 Stamina XP.

Worked examples

Damage Style XP breakdown Total XP awarded
1 Melee, Strength-only 4 Strength + 1 Stamina 5
2 Melee, Strength-only 8 Strength + 2 Stamina 10
3 Melee, Strength-only 12 Strength + 3 Stamina 15
1 Melee, Attack + Strength split 2 Attack + 2 Strength + 1 Stamina 5
1 Archery, Longrange 2 Archery + 2 Defense + 1 Stamina 5
d Archery, Accurate or Rapid (inferred) 4d Archery + d Stamina 5d

What this formula does not cover

  • Magic combat XP (not documented by this data — see Scope above).
  • Max hit and hit chance — those are separately datamined; see Combat's core-rolls table. This section is XP allocation only.
  • Which named melee style maps to which abstract category (the CXP7 caveat under Step 2a above) — this was, until now, a 100% server-side and undocumented mechanic.

Total combat XP per hit, melee's four styles, and the always-on Stamina XP Combat Updated 2026-07-08 Verified

Archery's three styles: Longrange confirmed, Accurate/Rapid inferred Archery Updated 2026-07-08 Unverified

Combat XP formula (melee and Archery) in-game observation Verified

melee style-name-to-category mapping in-game observation Unverified

Planned Calculators

Calculator Data needed
Smithing planner Recipe levels, inputs, XP, and output quantities
Profit view Stable recipes plus live price API
Drop lookup Mob drop tables and rates

Help verify direct in-game confirmation of Accurate/Rapid's XP allocation (currently inferred), and the melee per-weapon style-name-to-abstract-category mapping (CXP7) needed to fully compute melee XP from a chosen weapon style Accepted evidence: an XP-drop screenshot naming the skill for an Accurate/Rapid hit, and a style-by-style melee XP test per weapon class. Add it with {{GuideMethod}}.

Add this How to verify

Guide Methods Feeding Calculators

Guide Method Skill Levels Updated Confidence Status
Combat XP Calculator Archery's three styles: Longrange confirmed, Accurate/Rapid inferred Archery All levels 2026-07-08 observed for Longrange; inferred for Accurate/Rapid needs-review
Combat XP Calculator Magic combat XP: single-skill formula plus the splash exception Magic All levels 2026-07-08 observed for hits and the splash flat rate; inferred (not confirmed) for splash Stamina XP gameplay-verified
Combat XP Calculator Total combat XP per hit, melee's four styles, and the always-on Stamina XP Combat All levels 2026-07-08 observed gameplay-verified
Cooking From Cooking 15, cook brown trout and bank raw crawdads Cooking 15+ 2026-07-05 gameplay-verified
New Player Guide Early Fishing route (crawdads, trout, bubba bass) Fishing 1-35+ 2026-07-05 observed gameplay-verified
New Player Guide Level-2 goblin camp (early combat, gold, and bones) Combat early levels 2026-07-05 observed gameplay-verified

Wiki task

Needs a verified source calculator requirements, verified formula data, assumptions, and test cases (including direct confirmation of Archery's Accurate/Rapid XP allocation and the melee style-name-to-category mapping, CXP7) Accepted evidence: gameplay screenshot, official data, reader capture, or curator-reviewed notes.

Target page: Calculators. Listed on SankoQuest:Open bounties.