Appearance
Combat settings
How fights work: the formulas for damage and hit chance, what the winner can do, who is protected, and the optional bounty, revenge and ranked-duel systems. Most fields are formulas, so read the help text under each one.
Where: Modules → Combat (needs the Combat module)
You need: the Manage settings permission


Fights
| Field | What it is | Notes |
|---|---|---|
| 1Combat moderequired | Choice — one of: Turn by turn (legacy), Automatic (whole fight in one go) | Turn: the attacker picks a weapon every round and the defender answers (legacy). Auto: the whole fight is played with the chosen weapon in one request, with the same rules, and the full log is shown. Fights in progress finish in the mode they started in. |
| 2Only attack in the same city | On/off Starts as: Off | Legacy: "You can only attack someone in the same location!" |
| 3Fight timeout (minutes)required | Number | A fight with no action for this long ends as if the attacker fled (legacy kept it in the session). |
| 4Most rounds in an automatic fightrequired | Number | An automatic fight still undecided after this many rounds ends as if the attacker fled. |
| 5Minimum target HPrequired | Number | Targets with less HP can't be attacked (legacy 5: "You can only attack those who have health"). |
| 6Items usable per fightrequired | Number | In turn mode the attacker may use this many items (healing, boosts) instead of striking. 0 = off (legacy). |
| 7Item types usable in a fight | Several choices — pick from your game's own entries | None = any usable item. |
Formulas
| Field | What it is | Notes |
|---|---|---|
| 8Energy needed to attackrequired | Formula | Energy the attacker must have to start a fight (legacy: half their max energy). |
| 9Energy cost of a fightrequired | Formula | Taken once, on the first strike. |
| 10Damage with a weaponrequired | Formula | The hitter is the subject, the victim TARGET_. Truncated to an integer, then the victim's armour is taken off (minimum 1). |
| 11Damage with fistsrequired | Formula | Used by a defender with no weapon equipped. |
| 12Hit chance (%)required | Formula | A hit when a roll of 1–100 is at most this. |
Critical hits
| Field | What it is | Notes |
|---|---|---|
| 13Critical roll: die sizerequired | Number | Every hit rolls 1 to this (legacy 40). |
| 14Critical hit facesrequired | Several choices — pick from a list of 40 | Rolls that make a critical hit (legacy 17: a 1 in 40 chance). |
| 15Weak hit facesrequired | Several choices — pick from a list of 40 | Rolls that make a weak hit (legacy 25 and 8: 2 in 40). A face in both lists is a critical hit. |
| 16Critical hit multiplierrequired | Formula | |
| 17Weak hit divisorrequired | Formula |
Outcomes
| Field | What it is | Notes |
|---|---|---|
| 18Mug: money stolenrequired | Formula | The winner is the subject, the loser TARGET_. Capped at what the loser holds. |
| 19Mug: hospital minutesrequired | Formula | LEVEL is the winner's level, as legacy. |
| 20Hospitalise: hospital minutesrequired | Formula | |
| 21Leave: hospital minutesrequired | Formula | |
| 22Leave: exp gainedrequired | Formula | |
| 23Exp lost on defeatrequired | Formula | The loser (attacker) is the subject. Legacy used PHP ^ (XOR) where a cube was probably meant; kept for balance. Exp never goes below 0. |
| 24Extra winner choices | Several choices — one of: Steal an item, Humiliate | Offered next to mug, hospitalise and leave. None = legacy. |
| 25Humiliate: hospital minutesrequired | Formula | |
| 26Humiliate: exp gainedrequired | Formula |
Protection
| Field | What it is | Notes |
|---|---|---|
| 27Newbie protection: below levelrequired | Number | Characters below this level can't be attacked. 0 = off (legacy). |
| 28Newbie protection: first daysrequired | Number | Characters younger than this many days can't be attacked. 0 = off (legacy). |
| 29Attacking ends newbie protection | On/off Starts as: Off | A protected character who attacks someone loses their protection for good. |
| 30Shield after a defeat (minutes)required | Number | A beaten defender can't be attacked again until their hospital time ends plus this many minutes. 0 = off (legacy). |
| 31Most attacks on the same player per 24 hoursrequired | Number | 0 = no limit (legacy). |
Weapons and armour
| Field | What it is | Notes |
|---|---|---|
| 32Slots that count as armour | Several choices — one of: primary, secondary, armour | Armour of the items equipped in these slots protects in a fight. None = every slot. |
| 33Players can pay to repair | On/off Starts as: Off | Items with durability wear out; this opens the repair page. Repair items (effect "Repair equipped items") work either way. |
| 34Repair costrequired | Formula |
Revenge and bounties
| Field | What it is | Notes |
|---|---|---|
| 35Revenge energy discount (%)required | Number | A player who was beaten pays this much less energy to attack the winner back, once. 0 = off (legacy). |
| 36Revenge window (hours)required | Number | |
| 37Bounties | On/off Starts as: Off | Players can put money on another player's head; it is held until someone beats them. |
| 38Smallest bountyrequired | Number | |
| 39Bounty fee (%)required | Number | Paid on top of the bounty and never refunded. |
| 40Bounty lifetime (days)required | Number | Unclaimed bounties go back to the placer after this. 0 = never. |
| 41How a bounty is claimedrequired | Choice — one of: Any win, Only the "Claim the bounty" choice |
Rewards
| Field | What it is | Notes |
|---|---|---|
| 42Win streak titlesrequired | Long text | {"5": "Brawler", "10": "Warlord"}: the title shown next to the name of a player on that many wins in a row. Empty = none. |
Ranked
| Field | What it is | Notes |
|---|---|---|
| 43Ranked duels | On/off Starts as: Off | Players who opt in can duel for rating: no mugging, no hospital, no exp lost. |
| 44Starting ratingrequired | Number | |
| 45Rating change factor (K)required | Number | |
| 46Season length (days)required | Number | At the end of a season the top players get their rewards and every rating resets. 0 = no seasons. |
| 47Season rewardsrequired | Long text | {"1": [{"type": "currency", "config": {…}}], "2": […]}: item effects given to each final rank. |
Anti-farming
| Field | What it is | Notes |
|---|---|---|
| 48Flag fights between players on the same IP | On/off Starts as: Off | |
| 49Flag more than this many attacks on the same playerrequired | Number | 0 = off. |
| 50Repeat window (hours)required | Number |
Things to know about the fields
- Combat mode: Turn means the attacker picks a weapon every round and the defender answers (as in the original game). Auto plays the whole fight with the chosen weapon in one request and shows the full log. Fights already in progress finish in the mode they started in.
- Fights: Fight timeout ends a fight with no action as if the attacker fled. Minimum target HP stops attacks on players with too little health. Items usable per fight lets the attacker heal or boost instead of striking in turn mode (
0is off). - Formulas decide the energy to attack and to fight, the damage with a weapon or with fists (the hitter is the subject and the victim
TARGET_; the victim's armour is then taken off, minimum 1) and the hit chance (a roll of 1–100 must be at most the result). - Critical hits: every hit rolls a die; the critical and weak faces you pick decide which rolls count. A face in both lists is a critical hit.
- Outcomes set what the winner gets for each choice (mug, hospitalise, leave, and optional Steal an item and Humiliate) and the experience the loser loses. In these formulas the winner is the subject and the loser
TARGET_. - Protection: newbie protection (by level or by account age), a shield after a defeat and a limit on attacks on the same player per 24 hours.
0turns each off. - Weapons and armour: Slots that count as armour pick which equipped slots protect. Players can pay to repair opens the repair page; items with a repair effect work either way.
- Revenge and bounties: revenge gives a beaten player an energy discount for one counter-attack. Bounties let players put money on another player's head, held until someone beats them; the fee is paid on top and never refunded.
- Win streak titles is a map like
{"5": "Brawler", "10": "Warlord"}: the title shown next to the name after that many wins in a row. - Ranked: players who opt in can duel for rating, with no mugging, no hospital and no experience lost. A season ends after Season length days: top players get the Season rewards and every rating resets.
0means no seasons. - Anti-farming flags fights between players on the same IP, or too many attacks on one player, for review on the Combat flags page.
Related pages
- Item profiles, Fight drops, Combat flags (Combat) and Fight logs (Modules).