Pixel Kingdom Wars

HomeDocs › Combat

Raids and Loot

How PvP raids work in Pixel Kingdom Wars: finding a target, energy and ante, the 90-second battle, stars, the loot formula, trophies, shields, and replays.

A raid is a 90-second attack on another player's base. You pick a target, drop your army around their plot, and the server resolves every hit. Any star you earn is a win, and wins take a share of the defender's SHARDS. There is no travel time: the moment you confirm a target, you are on their field.

Everything on this page is the devnet playtest. SOL and KEEP here are test-net tokens with no real value, and SHARDS are an in-game currency.

Quick facts

Finding a target

Open the globe and tap a parcel to see its owner's base. You can attack a base you picked yourself, or let the game auto-match you.

The world globe with owned parcels

Who you can see and hit

Scouting. Before you commit, the parcel view gives you a 30-second scout preview of the base. Only completed buildings appear; traps that were sprung in an earlier raid and not yet repaired are simply absent.

Tip: the globe also shows a loot preview as a 1★ / 2★ / 3★ range. The numbers are rounded into buckets (never finer than 100 SHARDS) so a preview cannot reveal a player's exact balance. The low end assumes their defenses hold; the high end assumes everything falls, Mines included.

Revenge

Anyone who raided you in the last 4 hours is flagged on your map. The flag is a badge and a sort key, nothing more: the trophy window, shield, land tier, and once-per-day rules still apply.

What a raid costs

CostAmountNotes
Raid energy1 per PvP raid6 free per UTC day; free energy is used first
Extra energy0.03 SOL each, or 6 for 0.09 SOLdevnet SOL; never KEEP
Shard ante100 × your Keep levelL1 Keep 100 … L20 Keep 2,000; burned, refunded if the raid expires unsubmitted

There is no daily cap on raids as long as you have energy. Campaign stages cost no energy and no ante — see Campaign and PvE.

Why the ante: there is no daily raid cap, so the ante is the only throttle on how often you attack, and it scales with your Keep level. The exact numbers are marked as playtest placeholders in the code and may be tuned.

Deploying and fighting

Choosing where to drop troops during the deploy window

When you confirm, the server freezes a snapshot of the defender's base and drops you straight onto the field.

Commands available during the battle

A raid in progress

The battle ends early when the base is 100% destroyed, or when you have no living troop left and nothing left to deploy. The only randomness in combat is a ±6% damage jitter on defense shots, seeded per raid, so a replay always matches what happened.

Stars and victory

StarEarned when
At least 50% of the base is destroyed
The Keep is destroyed
100% of the base is destroyed

Destruction counts every building except walls and traps. One star is a win; zero stars is a loss for you and a clean defense for them.

The raid result screen

Loot

Loot is worked out per defending deed. It never touches wallet-wide balances and it never touches KEEP.

The pool. When the raid is created, 50% of the defender's liquid SHARDS plus their open (uncollected) Gold Forge SHARDS is set aside as the lootable pool. Every Mine's uncollected buffer is frozen separately.

Stars pay from the pool. 1★ takes 25% of the pool, 2★ takes 50%, 3★ takes 100%.

The Vault decides how much of the pool is exposed (formula v2). The highest Vault still standing at the end of the battle shields up to 30 of the 50 points, scaled by its level. A level-1 Vault shields 1.5 points (48.5% of the balance lootable); a level-20 Vault shields all 30 (20% lootable). A Vault you destroy protects nothing — breaking it is how raiders reach the rest. A deed with no Vault exposes the whole pool. Raids created before this rule shipped settle under the older rule they were created with (75% of the pool always reachable, the last 25% opening as Vaults fell).

A few examples:

Standing Vault levelPoints shieldedLootable share of balance
none / destroyed050%
11.548.5%
101535%
203020%

Why: the owner's rule is "during a raid 50% of your shards can be taken, so the Vault should reduce that by up to 30% based on its level." The Vault's storage capacity plays no part in raid loot — only its level and whether it survived.

Mines. On any victory, each destroyed Mine's frozen buffer is paid to you in full. Buffers of Mines that survived go back to the defender. Collecting often is the defender's best protection here — see Mining and Daily Cache.

Settlement. The attacker's deed receives exactly the total; whatever the attacker did not take is returned to the defender. No league tithe and no clan cut are taken on this path. Gold Forge stakes are lootable in proportion to their share of the balance, so an open Forge is not a safe place to park SHARDS — see Gold Forge.

Trophies and leagues

ResultYour trophiesDefender's trophies
1★+8−8
2★+12−12
3★+16−16
0★−10+10

Those are the base values; both are damped by the rating gap. The factor is 100% minus 0.1% per trophy of gap (your trophies minus theirs), clamped between 50% and 150%. Beating someone far below you pays less; beating someone above you pays more. On a 0★ loss the damping inverts, so a favored attacker who whiffs loses more. Nobody drops below 0. These curves are marked as playtest placeholders in the code and will be tuned.

Trophies belong to the base (deed), not the wallet, so they transfer with the land. Campaign stages award no trophies.

Leagues: Bronze from 0, Silver from 400, Gold from 800, Sol from 1,200 trophies. Tiers are recomputed every Monday at 00:15 UTC. A league prize pool exists in code (60% to Sol, 40% to Gold) but currently has no funding source, so league prizes are effectively 0 for now; badges and tiers are live.

The leaderboard page

Shields and cooldowns

Replays and raid log

The raid log with replay entries

Every battle a deed takes part in — attacking or defending — is written to its permanent battle history, 20 entries per page. Open any entry for a replay. Replays play back the server's own event timeline rather than re-simulating, so what you watch is exactly what was settled. Exact loot figures are shown only to the wallet that owned the deed when the battle settled; other viewers see the outcome, not the money.

What the defender experiences

Tip: keep your Vault standing and inside your walls, collect Mines before logging off, and do not leave SHARDS sitting open in the Gold Forge. Each of those shrinks what an attacker can take.

See also