Brothers in Arms

Forest chess encounter. Meet wandering warrior with small briefcase, bow politely, accept chess game challenge. Costs 1 turn. Play heated match (pawn vs knight, queen trades). 8 random outcomes (12.5% each): victory = full HP heal OR Wandering Warrior companion buff (+5/15/25% attack for 20 rounds) OR gold gain, defeat = lose gold/gems/charm OR stalemate injury (HP loss), extreme victory under 7 moves = instant death (warrior slams you into tree, skull shattered). Decline offer = offended warrior throws rock at head (-1 exp). Gold loss/gain range: 10-50 (configurable). Where you play chess with a briefcase-carrying old man in the forest and there's a 12.5% chance he responds to your victory by picking you up and slamming you into a tree hard enough to completely shatter your skull.

The Encounter

Meeting the Warrior:

  • Forest special event (100 weight)
  • See wandering warrior approaching
  • Left hand holds small briefcase (mysterious)
  • You bow, he acknowledges, approaches quickly
  • Asks: "`4How would you like to play a game of chess?`\$"

Your Choices:

  • [Play the Game] - Accept challenge (costs 1 turn, 8 random outcomes)
  • [Kindly Decline] - Refuse politely (warrior throws rock, -1 exp)

Playing Chess

The Match:

  • Accept offer, costs 1 forest turn
  • Play heated game
  • Description: "He moves forward with a pawn. You move forward with a knight."
  • "He ends up taking that knight, but you have his queen."
  • Outcome randomized: e_rand(1,8) → 8 possibilities

8 Random Outcomes

Outcome 1: Victory - Full Heal (12.5%):

  • "You defeat the barby ole codger."
  • "He hands you a small potion and makes you feel healthy!"
  • Effect: HP restored to max (hitpoints = maxhitpoints)
  • Excellent outcome if wounded

Outcome 2: Close Victory - Buff +5% (12.5%):

  • "You defy all odds and make an extremely close victory!"
  • "The Warrior is happy at your skills and takes up arms for you!"
  • Buff: "`3Wandering Warrior"
  • Duration: 20 rounds
  • Effect: +5% attack (atkmod 1.05)
  • Round msg: "The ferocity of the Wandering Warrior helps you!"
  • Wearoff: "The Wandering Warrior is dismissed."
  • If buff already exists: +10 rounds stacked

Outcome 3: Loss - Gold Penalty (12.5%):

  • "You lose to the old man!"
  • The code technically contains a three-tier fallback (gold, then gems if you have none, then charm as a last resort), but a comparison bug means the gold check always evaluates true no matter how much gold you're carrying — even at 0 gold. In practice, this outcome is ALWAYS a gold penalty: "He punches you out and steals a bit of gold from you!" (lose 10-50 gold, configurable)
  • The gem-loss and charm-loss branches exist in the code but are unreachable — you will never actually see them fire, regardless of your gold total

Outcome 4: Narrow Victory - Buff +15% (12.5%):

  • "You defy all odds and make a really narrow victory!"
  • "The Warrior is happy at your skills and takes up arms for you!"
  • Buff: "`3Wandering Warrior"
  • Duration: 20 rounds
  • Effect: +15% attack (atkmod 1.15)
  • Same buff name as Outcome 2 but stronger modifier
  • If buff exists: +10 rounds stacked

Outcome 5: Stalemate - HP Loss (12.5%):

  • "The whole game results in a stalemate!"
  • "You decide to sneak off, not wishing to lose your mind like he has."
  • "He runs after you with a pike and jabs it into your back."
  • Damage: Player level (e.g., level 10 = 10 HP loss)
  • Fixed damage = current level

Outcome 6: Stunning Comeback - Buff +25% (12.5%):

  • "You defy all odds and make a stunning comeback!"
  • "The Warrior is happy at your skills and takes up arms for you!"
  • Buff: "`3Wandering Warrior"
  • Duration: 20 rounds
  • Effect: +25% attack (atkmod 1.25)
  • Strongest buff variant
  • If buff exists: +10 rounds stacked

Outcome 7: DEATH - Too Fast Victory (12.5%):

  • "Strangely, you win in under 7 moves. His jaw drops to the table."
  • "He sticks out his hand to be shook."
  • "You gladly accept his hand, but he lifts you into the air."
  • "He whips you around and slams you into a tree."
  • Result: INSTANT DEATH (alive=0, HP=0)
  • Redirect: shades.php
  • News entry: "[Name] has been defeated in the forest by the Wandering Warrior. [He/She/They] met a grizzly end, as the tree completely shattered their skull."
  • No resurrection available
  • 12.5% DEATH RATE (1/8 chance)

Outcome 8: Victory - Gold Gain (12.5%):

  • "Before you can even touch your next piece, a gang of Cops come from the bushes."
  • "They rush the old warrior and strip him of all his gold."
  • "They hand you a small bit of it."
  • Reward: 10-50 gold (configurable range)
  • Cops appear from bushes (random event)
  • You benefit from warrior's misfortune

Declining the Game

Kindly Decline Outcome:

  • "You kindly decline the offer to play Chess."
  • "He seems somewhat offended and throws a rock at your head."
  • Penalty: -1 experience
  • Safe option if you fear death outcome
  • Minor penalty vs 12.5% instant death risk

Buff Stacking

Wandering Warrior Buff Mechanics:

  • 3 buff strengths possible: 1.05x, 1.15x, 1.25x attack
  • All share same buff name: "Wandering Warrior"
  • If buff already exists: +10 rounds added (doesn't upgrade modifier)
  • Example: Have 1.05x buff with 5 rounds left, win again with 1.25x outcome:
    • Rounds become 15 (5 + 10)
    • Modifier stays 1.05x (doesn't upgrade to 1.25x)
    • First buff locked in
  • Strategy: Hope for 1.25x outcome first, then stack rounds

Admin Configuration

Settings:

  • mingold: Minimum gold to lose/gain to/from old warrior (range 0-50, default 10)
  • maxgold: Maximum gold to lose/gain to/from old warrior (range 20-150, default 50)
  • Controls Outcome 3 (loss penalty) and Outcome 8 (gold reward)

Strategy Guide

Risk Analysis:

  • Accept Chess:
    • Cost: 1 turn guaranteed
    • 37.5% positive outcomes (full heal, buffs +5/15/25%, gold gain)
    • 50% negative outcomes (gold loss, HP loss — the gem/charm fallback intended for the loss outcome never actually fires due to a code bug)
    • 12.5% DEATH (instant, unavoidable, news announcement)
  • Decline Chess:
    • Cost: -1 experience (negligible)
    • No turn cost
    • No death risk

When to Accept:

  • You're okay with 12.5% death risk
  • Want Wandering Warrior buff (37.5% chance)
  • Low HP and need heal (12.5% chance)
  • Feeling lucky / don't care about death

When to Decline:

  • Can't afford 12.5% death risk
  • Close to leveling (don't want to die)
  • No resurrection services available
  • Risk-averse playstyle

Death Outcome Analysis

Why Death?:

  • Win "under 7 moves" = too fast, suspicious
  • Warrior's jaw drops (shocked/impressed)
  • Offers handshake (false sportsmanship)
  • Uses handshake to lift you (trap)
  • Slams into tree (execution)
  • "completely shattered their skull" (graphic death)

Comparison to Other Forest Deaths:

  • 12.5% death rate is HIGH for forest event
  • Most forest events: 0-5% death risk
  • Brothers in Arms: 1/8 games = death
  • No skill/stat check to avoid (pure RNG)
  • Makes this one of deadliest forest encounters

Outcome Probability Table

Outcome Probability Result Value
Full Heal 12.5% HP to max +++ (if wounded)
Buff +5% 12.5% 1.05x atk, 20 rounds ++
Buff +15% 12.5% 1.15x atk, 20 rounds +++
Buff +25% 12.5% 1.25x atk, 20 rounds ++++
Gold Gain 12.5% +10-50 gold +
Loss (gold) 12.5% -10-50 gold (the gem/charm fallback in the code never actually fires, due to a bug) -
Stalemate 12.5% -[level] HP --
DEATH 12.5% Instant death, Detention -----

Limitations

  • High Death Risk: 12.5% instant death with no warning/skill check
  • Buff Overlap: Wandering Warrior buff doesn't stack strength (only rounds)
  • Turn Cost Always: Even if you decline, costs interaction time
  • Pure RNG: No player skill/choice affects outcome distribution
  • News Announcement: Death broadcasts to server (public embarrassment)

Brothers in Arms: where you encounter a wandering warrior carrying a mysterious small briefcase in the Forbidden Forest and he politely asks if you'd like to play a game of chess, and if you accept he describes a heated match where he takes your knight but you capture his queen, and then the game randomly resolves via eight equally-probable outcomes including full HP heal, three different strength companion buffs ranging from +5% to +25% attack for twenty rounds, cops appearing from bushes to steal the warrior's gold and give you some, losing gold because the old man punches you (the game technically has a gem-loss and charm-loss fallback coded in for this outcome too, but a comparison bug means you'll only ever see the gold version, no matter how broke you are), getting pike-stabbed in the back after a stalemate, or—and this is the really fun one—winning SO CONVINCINGLY in under seven moves that the warrior offers a congratulatory handshake then uses that handshake to lift you into the air and slam you into a tree with sufficient force to completely shatter your skull resulting in instant death and a server-wide news announcement about your grizzly demise. That's a 12.5% chance (one in eight) of dying from accepting a friendly chess match, making this one of the deadliest forest encounters in the game, though you can always decline the offer and merely get hit in the head with a rock for one experience point which seems like the vastly superior option unless you're a gambling addict.