Home/Guide/Wiki/Game Mechanics
Behind the scenes

Game mechanics & math

Every formula the game actually runs — the XP curve, the combat rolls, the server tick, and how latency fits in. Numbers on this page are read straight from the game code, so they always match what you play.

Levelling & the XP curve

Level cap99 (every skill)
Level 1 XP0
Level 99 XP13,034,431
Curve doubles every7 levels
Halfway pointLevel 92 — half the total XP to 99 is spent here

Mietshu uses a classic exponential XP curve. The total XP to reach a level is the running sum below, quartered:

xp(L) = floor( 0.25 × Σ  floor( x + 300 × 2^(x / 7) ) )
                     x = 1 .. L-1

The 2^(x/7) term means the cost doubles every seven levels — the early game is quick, the last stretch is a real grind. The same curve drives every skill, so XP rates are directly comparable across skills: 10,000 Mining XP and 10,000 Cooking XP move you the same distance up the curve.

Full XP table — level 1 to 99

LevelTotal XPXP for this level
10
283+83
3174+91
4276+102
5388+112
6512+124
7650+138
8801+151
9969+168
101,154+185
111,358+204
121,584+226
131,833+249
142,107+274
152,411+304
162,746+335
173,115+369
183,523+408
193,973+450
204,470+497
215,018+548
225,624+606
236,291+667
247,028+737
257,842+814
268,740+898
279,730+990
2810,824+1,094
2912,031+1,207
3013,363+1,332
3114,833+1,470
3216,456+1,623
3318,247+1,791
3420,224+1,977
3522,406+2,182
3624,815+2,409
3727,473+2,658
3830,408+2,935
3933,648+3,240
4037,224+3,576
4141,171+3,947
4245,529+4,358
4350,339+4,810
4455,649+5,310
4561,512+5,863
4667,983+6,471
4775,127+7,144
4883,014+7,887
4991,721+8,707
50101,333+9,612
51111,945+10,612
52123,660+11,715
53136,594+12,934
54150,872+14,278
55166,636+15,764
56184,040+17,404
57203,254+19,214
58224,466+21,212
59247,886+23,420
60273,742+25,856
61302,288+28,546
62333,804+31,516
63368,599+34,795
64407,015+38,416
65449,428+42,413
66496,254+46,826
67547,953+51,699
68605,032+57,079
69668,051+63,019
70737,627+69,576
71814,445+76,818
72899,257+84,812
73992,895+93,638
741,096,278+103,383
751,210,421+114,143
761,336,443+126,022
771,475,581+139,138
781,629,200+153,619
791,798,808+169,608
801,986,068+187,260
812,192,818+206,750
822,421,087+228,269
832,673,114+252,027
842,951,373+278,259
853,258,594+307,221
863,597,792+339,198
873,972,294+374,502
884,385,776+413,482
894,842,295+456,519
905,346,332+504,037
915,902,831+556,499
926,517,253+614,422
937,195,629+678,376
947,944,614+748,985
958,771,558+826,944
969,684,577+913,019
9710,692,629+1,008,052
9811,805,606+1,112,977
9913,034,431+1,228,825

“XP for this level” is the jump from the previous level — the cost of the single level-up.

Combat mechanics

How a hit is resolved

Every swing, shot or spell resolves in two independent rolls. First an accuracy rolldecides hit or miss — your accuracy against the target's defence in the style you are attacking with. Then, on a hit, a damage roll picks a number between 0 and your max hit. Real misses (and zero-damage hits) are possible.

attack roll  = (skill + 8) × (accuracy bonus + 64)
defence roll = (skill + 8) × (defence bonus  + 64)
hit chance   = compare the two rolls
max hit      = floor( (4 + strength bonus) × (1 + strength/128) )
damage       = hit ? random 0..maxHit × weakness : 0

The attacking style— melee, ranged or magic — decides which skills and which equipment bonuses feed the rolls, and which of the target's three per-style defences resists.

Weakness triangle

Hitting a creature on its weakness multiplies your max hit; attacking the style it resists shrinks it. A creature's wiki page lists exactly what it is weak to.

Attacking stylevs Meleevs Rangedvs Magic
Melee×1.0×1.3×0.7
Ranged×0.7×1.0×1.3
Magic×1.3×0.7×1.0

Earning XP & Hitpoints

XP is earned per point of damage you deal 4 XP per damage — on every hit, not as a lump sum on the kill. The skill trained follows your selected attack style. Every combat XP award also grants Hitpoints XP at 33% of the rate, so your health pool keeps pace with your offence on its own.

Combat level

Your combat level is a single number summarising overall battle strength, shown atop the in-game Skills panel. Your strongest fighting style drives most of it, while all five battle skills together add a smaller conditioning base — so an off-style still nudges the number up.

combat level = floor( 1/6 × ((attack+strength+defence)/3 + ranged + magic)
                    + 0.65 × max(melee, ranged, magic) )

ranges 1 (fresh keeper) → 81 (one style at 99) → 113 (all five battle skills at 99)

The server tick

Mietshu is server-authoritative. The server owns the real game state; your client sends intents(“move here”, “attack that”) and renders the results. Nothing you do is “true” until the server agrees — which is what keeps combat and trading fair.

The world advances in fixed ticks. Each map room simulates at 20 ticks per second — one tick every 50 ms. On each tick the server steps every system in order: creature AI, chasing and pathfinding, combat resolution, NPC schedules, weather and the world clock. State changes are then diffed and broadcast to every client in the room.

tick rate        = 20 Hz   → 1 tick every 50 ms
player attack    = one swing every 1500 ms (every 30 ticks)
creature attack  = per-creature interval (see each creature page)

Your attack lands on a fixed cadence— one swing per 1.5 seconds. Spam-clicking does nothing: extra “attack” messages are ignored until the cooldown elapses, and swapping targets carries the cooldown across, so there is no click-speed advantage to min-max. What you optimise is gear, levels and style — not APM.

Ping & latency

Ping is the round trip for a message to reach the server and come back. It affects how quickly you see things — not how they resolve.

  • Your movement is predicted locally.Your keeper steps the instant you press a key; the client then reconciles with the server's authoritative position. Walking feels instant regardless of ping.
  • Combat is never predicted. Hit-or-miss and damage are rolled entirely on the server. A high ping means you seethe hitsplat a little later — it never changes the result, and it can't be abused.
  • Other players and creatures are interpolated. You see them at their last broadcast position, smoothed between ticks, so a 50 ms tick still looks fluid.
  • Dropping out is forgiven. A brief disconnect enters a reconnect-grace window — rejoin in time and your session, combat state and position are restored rather than reset.

Bottom line for min-maxers: because every roll is server-side and your attack cadence is fixed, ping is a comfort factor, not a powerfactor. A 200 ms player and a 20 ms player kill the same monster in the same number of swings.