Mechanics

How the game works out regeneration, attack speed, accuracy, damage, combat XP and levels, from its own code. Tick: 0.6 s. Practical advice: Tips.

Accuracy and max hit

Effective level = level × potion multiplier + potion bonus + stance bonus + 8.
Roll = effective level × (equipment bonus + 64). The attacker uses their Melee, Archery or Magic level and attack bonus for that style; the defender uses their Defence level and defence bonus against that style.
Hit chance: if attack roll A > defence roll D, 1 − (D + 2) ÷ (2 × (A + 1)); otherwise A ÷ (2 × (D + 1)).
Max hit (Melee, Archery) = ⌊(effective level × (strength bonus + 64) + 320) ÷ 640⌋. Slow, heavy weapons add max(1, round(max hit × their heavy-blow share)).
Max hit (Magic) = ⌊spell power × (1 + effective level ÷ 200) + magic strength ÷ 10⌋; spell power × 1.2 against the monster type the spell is strong against.
Each hit deals a whole number from 0 to max hit, all equally likely.

Example. A new character ( Melee 1) on Attack stance with a Bronze Seax (+3 melee, +2 strength) against a 👺Goblin Runt (Defence 1, defence bonus 1): effective level 1 + 3 + 8 = 12; attack roll 12 × 67 = 804; its defence roll (1 + 8) × 65 = 585; hit chance 63.5%; max hit ⌊(12 × 66 + 320) ÷ 640⌋ = 1. With Mystic Missile (power 1) at Magic 1, the max hit is 1.

Your numbers against any monster: Combat calculator.

Stances and combat XP

  • Attack: +3 to your effective attack level (accuracy and max hit). Defend: +3 to your effective Defence level, and your attack XP goes to Defence instead.
  • For each hit, the XP credit is the damage up to the monster's remaining HP, plus 25% of any damage past it.
  • Your style's skill ( Melee, Archery or Magic; Defence on Defend) gets 4 XP per point of credit. A spell that hits gives at least its Spirit cost in XP, even when it hits 0. A miss gives no XP.
  • Fortitude gets 1.5 XP per point of credit on any hit that does damage.

Example. You hit for 3 on a monster with 2 HP left: credit = 2 + 1 × 0.25 = 2.25, so 9 Melee XP and 3.375 Fortitude XP.

Combat level

Combat level = ⌊best of (Melee, Archery, Magic) ÷ 2 + Defence ÷ 4 + Fortitude ÷ 4 + the other two attack skills ÷ 20⌋, at least 1.

Example. Melee 40, Archery 10, Magic 1, Defence 30, Fortitude 35: ⌊40/2 + 30/4 + 35/4 + 11/20⌋ = 36. A new character is level 3.

An aggressive monster ignores you once your combat level is more than 2× its own, unless it always attacks, hunts in a pack or you provoked it. Combat levels in the right-click menu are coloured by the gap: green when the monster is 5 or more levels below you, yellow when equal, red when it is 5 or more above.

Attack speed

A weapon swings once every speed ticks; the game shows the label. Monsters have their own speed, shown on each monster page.

TicksEveryIn gameWeaponsFor example
31.8 sFast attack speed10Bronze Seax Perfect Bronze Seax Iron Seax
4 (unarmed)2.4 sModerate attack speed17Bronze Spatha Rowan Hunting Bow Perfect Bronze Spatha
53 sSlow attack speed42Bronze Spear Bronze War Axe Bronze Broadsword
63.6 sVery slow attack speed2Giant’s Club Frost Giant’s Club

Regeneration

One point at a time, every so many ticks (1 tick = 0.6 s). The interval depends on one skill level. Example: at Fortitude 10 you regain 1 HP every 60 s, so a full 10 HP takes 10 min; at Magic 1 a full 100 Spirit takes 30 min.

  • Max HP = your Fortitude level (plus temporary boosts). Max Spirit = 100 + 10 × (Magic − 1). Energy runs 0–100%.
  • Energy comes back only while you aren't running; running costs 0.5% per tile.
  • Monsters regain 1 HP every 60 s. Special attack energy: +10% every 30 s.
HP, by Fortitude
FortitudeTicks / HPTimeIn game
1–1910060 sVery slow recovery
20–399054 sSlow recovery
40–598048 sAverage recovery
60–797042 sFast recovery
80–996036 sVery fast recovery
1005030 sRapid recovery
Spirit, by Magic
MagicTicks / SpiritTime
1–193018 s
20–392515 s
40–592012 s
60–79159 s
80–99106 s
10053 s
Energy, by Fortitude (while not running)
FortitudeTicks / 1% EnergyTime0 → 100%
1–19106 s10 min
20–2995.4 s9 min
30–3984.8 s8 min
40–4974.2 s7 min
50–5963.6 s6 min
60–6953 s5 min
70–7942.4 s4 min
80–8931.8 s3 min
90–9921.2 s2 min
10010.6 s60 s

XP tablelevels 1–100

The same table for every skill. XP keeps counting past level 100, up to 100,000,000. Fortitude starts at level 10 (1,042 XP). Calculator: 1–100 Skill Guides.

LevelTotal XPTo next
1075
27582
315792
4249101
5350113
6463124
7587137
8724151
9875167
101,042185
111,227204
121,431225
131,656247
141,903275
152,178303
162,481333
172,814368
183,182407
193,589449
204,038495
214,533547
225,080603
235,683666
246,349735
257,084811
267,895894
278,789989
289,7781,090
2910,8681,203
3012,0711,328
3113,3991,466
3214,8651,618
3316,4831,786
3418,2691,971
3520,2402,176
3622,4162,401
3724,8172,652
3827,4692,926
3930,3953,231
4033,6263,565
4137,1913,937
4241,1284,345
4345,4734,797
4450,2705,296
4555,5665,845
4661,4116,454
4767,8657,124
4874,9897,866
4982,8558,682
5091,5379,587
LevelTotal XPTo next
51101,12410,582
52111,70611,684
53123,39012,898
54136,28814,240
55150,52815,721
56166,24917,357
57183,60619,161
58202,76721,156
59223,92323,357
60247,28025,787
61273,06728,469
62301,53631,431
63332,96734,703
64367,67038,313
65405,98342,299
66448,28246,702
67494,98451,561
68546,54556,927
69603,47262,850
70666,32269,392
71735,71476,614
72812,32884,586
73896,91493,389
74990,303103,109
751,093,412113,840
761,207,252125,688
771,332,940138,769
781,471,709153,212
791,624,921169,158
801,794,079186,764
811,980,843206,203
822,187,046227,664
832,414,710251,361
842,666,071277,522
852,943,593306,409
863,250,002338,300
873,588,302373,511
883,961,813412,389
894,374,202455,313
904,829,515502,703
915,332,218555,027
925,887,245612,799
936,500,044676,583
947,176,627747,005
957,923,632824,759
968,748,391910,606
979,658,9971,005,388
9810,664,3851,110,038
9911,774,4231,225,577
10013,000,000—

Source

Read from the game client (minified code, bundle f9e12ff2). Online the server runs the game; these are the client's copy of its rules, not timed in game.

const cj=[[100,50],[80,60],[60,70],[40,80],[20,90],[1,100]],pTe=[[100,5],[80,10],[60,15],[40,20],[20,25],[1,30]],gTe=100,mTe=1
function yi(e,t,n=1,o=0){return Math.floor(e*n)+o+t+8}
function ol(e,t){return e*(t+64)}
function am(e,t){return e>t?1-(t+2)/(2*(e+1)):e/(2*(t+1))}
function ME(e,t){const n=e*(t+64);return Math.floor((n+320)/640)}
function RE(e,t,n){return Math.floor(t*(1+e/200)+n/10)}
function IE(e,t){return t?Math.max(1,Math.round(e*t)):0}
function $z(e,t){const n=Math.max(0,e),o=Math.min(n,Math.max(0,t));return o+(n-o)*Wz}
s=Math.max(SE*i,t.magic?t.spell.spirit:0);if(s>0&&Jt(P.combatStyle==="defend"?"defence":t.skill,s),n.damage>0&&Jt("fortitude",TE*i)
function Vv(){const e=P.skills,t=[e.melee.level,e.archery.level,e.magic.level],n=Math.max(...t),o=t.reduce((a,i)=>a+i,0)-n;return Math.max(1,Math.floor(n/2+e.defence.level/4+e.fortitude.level/4+o/20))}