# Detailed Numbers

{% hint style="danger" %}
While we strive to avoid mid-season changes, the game balance is still subject to change if necessary.&#x20;
{% endhint %}

For the theory crafters & spreadsheet nerds, this section is for you.&#x20;

### Gangsters

* Earn **\[1000]** xGOLD per day (plus more from gang wars)
* Gain **\[0]** Reputation plus **\[1]** per day
* Costs $GOLD, and price fluctuates based on avg seasonal player demand:
  * *Price = AvgDailyPurchase^**\[2.5]** / TargetDailyPurchases^\[**2.5]** \* TargetPrice + Starting Price*
    * StartingPrice = **\[0]**
    * TargetPurchases = **\[1500]**
    * TargetPrice = **\[5000]**

### Goons

* Earn **\[500]** xGOLD per day&#x20;
* Gives **\[0]** reputation
* Costs $GOLD or xGOLD, and price fluctuates based on avg seasonal player demand:
  * *Price = AvgDailyPurchase^**\[2.5]** / TargetDailyPurchases^\[**2.5]** \* TargetPrice + Starting Price*
    * StartingPrice = **\[0]**
    * TargetDailyPurchases = **\[2000]**
    * TargetPrice = **\[1500]**

### Safehouses

* Worth **\[8]** reputation plus **\[1]** per day
* Costs xGOLD, and price fluctuates based on avg seasonal player demand:
  * *Price = AvgDailyPurchase^**\[2.5]** / TargetDailyPurchases^\[**2.5]** \* TargetPrice + Starting Price*
    * StartingPrice = **\[0]**
    * TargetDailyPurchases = **\[2000]**
    * TargetPrice = **\[1500]**

### Pistols & Shields

* Cost per pistol / shield = \[**300]**
* Pistols give **\[1]** attack power for next gang war (split equally between Gangsters that attack)
* Shields give **\[1]** defence power for next gang war (applies regardless of Gangster deployment)
* Players can spend up to maximum of **\[200]%** of their daily xGOLD earnings on pistols and shields

### Thugs

* Costs \[**1000**] POOR
* Generates \[**300**] POOR per day (no claim needed)

### Stash

{% hint style="danger" %}
Make sure to deposit gangsters to your game account **before or during the first 12 hours** of the season, otherwise you will NOT receive ETH in your starting stash.&#x20;
{% endhint %}

* \[50%] of ETH spent in presale and \[35%] of xGOLD spent in game will go to player stash
* ETH in presale will be divided proportional to gangsters owned by players 12 hours after season starts
* Players can steal other players stash by successfully winning gang wars (see below)

### Gang Wars

* Players must deploy Gangsters between Earn, Defend or Attack (default is Earn)
  * Earn: Receive **\[500]** xGOLD per Gangster&#x20;
  * Defend: Add **\[1]** to defence power
  * Attack: Attack a player with **\[1]** attack power
* Successful attacks will steal rewards:
  * Steal up to **\[60%]** of defenders xGOLD that they would have earned during that gang war
  * Steal up to **\[15%]** of the defenders **stash**&#x20;
* "Success" happens if Total Attack Power (from all players) > Total Defence Power
  * Note: Multiple attackers will share rewards proportional to contribution
* Gang Wars resolve once every **\[12]** hours&#x20;
* Players must be connected to X and have **\[5]** Gangsters to participate in gang wars

Formulas for Gang Wars

* `total_attack_power` = (`#_gangsters` + `#_pistols` + `attack_augment)` \* `attack_augment_multiplier` sent by all players
* `total_defence_power` = (`#_gangsters` + `#_shields` + `defence_augment)` \* `defence_augment_multiplier`&#x20;
* if `total_attack_power` > `total_defence_power` then win war, otherwise lose

Formula for Stash

* stash stolen = \[`stash_at_risk`] \* min(`defence_stash`, `weighted_avg_attacker_stash`) \* \[`opt_out_modifier`] \* `%_attack_contribution`
  * `stash_at_risk` = \[15%]
  * `opt_out_modifier` = \[33%] if and ONLY IF a player has 0 raid power
  * `weighted_avg_attacker_stash` = sum of (`% of total attack` \* `stash`) for all attackers&#x20;
  * `%_attack_contribution` = `your_attack` / `total_attack` of all attackers

{% hint style="info" %}
**Example Gang War & Stash**

**Players:**

* A: 100 Attack / 100 Defence / Stash of 0.8 ETH
* B: 10 Attack / 0 Defence / Stash of 0.3 ETH
* C: 200 Attack / 50 Defence / Stash of 0.1 ETH
* D: 0 Attack / 0 Defence / 0 Earn / Stash of 0.5 ETH<br>

**Scenario 1: Player B + C attack Player A and&#x20;*****win***

* Weighted Avg attacker stash = 10/210\*0.3 + 200/210\*0.1 = 0.1095
* Stash stolen by B = 0.15 \* min(0.8, 0.1095) \* 10 / 210 = 0.0007 won
* Stash stolen by C = 0.15 \* min(0.8, 0.1095) \* 200 / 210 = 0.0156 won
* A loses \~0.0163

\
**Scenario 2: Player B attacks Player A and&#x20;*****loses***

* Stash lost by A = 0.15 \* min(0.8,0.3) = 0.045 lost

\
**Scenario 3: Player A attacks B and&#x20;*****wins***

* Stash stolen by A = 0.15 \* min(0.8,0.3) = 0.045 won

\
**Scenario 4: Player B attacks Player D (who opted out) and wins**

* Stash stolen by B = 0.15 \* min(0.3,0.5) \* 0.33 = 0.015 won

\
**Scenario 5: Player A attacks Players B, C, and D and win all 3**

* Stash stolen vs B = 0.15 \* min(0.8, 0.3) = 0.045
* Stash stolen vs C = 0.15 \* min(0.8, 0.1) = 0.015
* Stash stolen vs D = 0.15 \* min(0.8,0.5) \* 0.33 = 0.025
* Total = 0.085

{% endhint %}

### Auction House

* Players can spend xGOLD to win $GOLD by playing a blind bidding game every **\[24]** hrs
* \[**30%**] of all $GOLD spend goes into auction house rewards, which is divided equally into auction house rewards over the next \[5] days:
  * \[**250**] players can win Pouch of Greed
  * \[**100**] players can win Bag of Greed
  * \[**25**] players can win Stash of Greed
  * \[**5]** players can win Hoard of Greed
* Players make non-refundable bids with xGOLD and the highest bids win the prizes
* Players may also win Blast Gold in the auction house by bidding with POOR

### $xU

* Players can win $xU proportional to their reputation at the midseason and end of season snapshots

### Augments

* See below for the list of all possible Augment choices, their effects, and probability to appear
* Initial Rolls costs \[20k] $GOLD, with subsequent re-rolls costing \[10k] $GOLD

<table><thead><tr><th>Augment Name</th><th width="114">Effect</th><th width="199">Description</th><th width="123">Rarity</th><th>Probability</th></tr></thead><tbody><tr><td>Attack Multiplier</td><td>1.10x</td><td>Multiplies total attack power by the specified amount for the next gang war</td><td>Common</td><td>7.00%</td></tr><tr><td>Defence Multiplier</td><td>1.10x</td><td>Multiplies total defence power by the specified amount for the next gang war</td><td>Common</td><td>7.00%</td></tr><tr><td>Earn Multiplier*</td><td>1.20x</td><td>Multiplies total xGREED earnt by the specified amount for the next gang war</td><td>Common</td><td>7.00%</td></tr><tr><td>Attack bonus</td><td>+ 40</td><td>Adds the specified bonus amount to total attack for the next gang war</td><td>Common</td><td>7.00%</td></tr><tr><td>Defence Bonus</td><td>+ 40</td><td>Adds the specified bonus amount to total defence for the next gang war</td><td>Common</td><td>7.00%</td></tr><tr><td>Earn Bonus*</td><td>+ 20000</td><td>Adds the specified bonus amount to total xGOLD earnings for the next gang war</td><td>Common</td><td>7.00%</td></tr><tr><td>xGOLD bonus</td><td>+ 15000</td><td>Instantly gain the specified amount of xGOLD</td><td>Common</td><td>7.00%</td></tr><tr><td>Safehouse</td><td>+ 5</td><td>Instantly gain the specified amount of Safehouses</td><td>Common</td><td>7.00%</td></tr><tr><td>Goons</td><td>+ 6</td><td>Instantly gain the specified amount of Goons</td><td>Common</td><td>7.00%</td></tr><tr><td>Gangsters</td><td>+ 3</td><td>Instantly gain the specified amount of Gangsters</td><td>Common</td><td>7.00%</td></tr><tr><td>Attack Multiplier</td><td>1.20x</td><td>As above</td><td>Rare</td><td>1.50%</td></tr><tr><td>Defence Multiplier</td><td>1.20x</td><td>As above</td><td>Rare</td><td>1.50%</td></tr><tr><td>Earn Multiplier</td><td>1.30x</td><td>As above</td><td>Rare</td><td>1.50%</td></tr><tr><td>Attack bonus</td><td>+ 80</td><td>As above</td><td>Rare</td><td>1.50%</td></tr><tr><td>Defence Bonus</td><td>+ 80</td><td>As above</td><td>Rare</td><td>1.50%</td></tr><tr><td>Earn Bonus</td><td>+ 40000</td><td>As above</td><td>Rare</td><td>1.50%</td></tr><tr><td>xGOLD bonus</td><td>+ 30000</td><td>As above</td><td>Rare</td><td>1.50%</td></tr><tr><td>Safehouse</td><td>+ 10</td><td>As above</td><td>Rare</td><td>1.50%</td></tr><tr><td>Goons</td><td>+ 12</td><td>As above</td><td>Rare</td><td>1.50%</td></tr><tr><td>Gangsters</td><td>+ 6</td><td>As above</td><td>Rare</td><td>1.50%</td></tr><tr><td>Attack Multiplier</td><td>1.40x</td><td>As above</td><td>Epic</td><td>1.00%</td></tr><tr><td>Defence Multiplier</td><td>1.40x</td><td>As above</td><td>Epic</td><td>1.00%</td></tr><tr><td>Earn Multiplier</td><td>1.60x</td><td>As above</td><td>Epic</td><td>1.00%</td></tr><tr><td>Attack bonus</td><td>+ 160</td><td>As above</td><td>Epic</td><td>1.00%</td></tr><tr><td>Defence Bonus</td><td>+ 160</td><td>As above</td><td>Epic</td><td>1.00%</td></tr><tr><td>Earn Bonus</td><td>+ 80000</td><td>As above</td><td>Epic</td><td>1.00%</td></tr><tr><td>xGOLD bonus</td><td>+ 60000</td><td>As above</td><td>Epic</td><td>1.00%</td></tr><tr><td>Safehouse</td><td>+ 25</td><td>As above</td><td>Epic</td><td>1.00%</td></tr><tr><td>Goons</td><td>+ 30</td><td>As above</td><td>Epic</td><td>1.00%</td></tr><tr><td>Gangsters</td><td>+ 15</td><td>As above</td><td>Epic</td><td>1.00%</td></tr><tr><td>Attack Multiplier</td><td>1.60x</td><td>As above</td><td>Legendary</td><td>0.50%</td></tr><tr><td>Defence Multiplier</td><td>1.60x</td><td>As above</td><td>Legendary</td><td>0.50%</td></tr><tr><td>Earn Multiplier</td><td>1.80x</td><td>As above</td><td>Legendary</td><td>0.50%</td></tr><tr><td>Attack bonus</td><td>+ 320</td><td>As above</td><td>Legendary</td><td>0.50%</td></tr><tr><td>Defence Bonus</td><td>+ 320</td><td>As above</td><td>Legendary</td><td>0.50%</td></tr><tr><td>Earn Bonus</td><td>+ 200000</td><td>As above</td><td>Legendary</td><td>0.50%</td></tr><tr><td>xGOLD bonus</td><td>+ 120000</td><td>As above</td><td>Legendary</td><td>0.50%</td></tr><tr><td>Safehouse</td><td>+ 50</td><td>As above</td><td>Legendary</td><td>0.50%</td></tr><tr><td>Goons</td><td>+ 60</td><td>As above</td><td>Legendary</td><td>0.50%</td></tr><tr><td>Gangsters</td><td>+ 30</td><td>As above</td><td>Legendary</td><td>0.50%</td></tr><tr><td><strong>Total</strong></td><td></td><td></td><td></td><td><strong>100.00%</strong></td></tr></tbody></table>

### Spin to win

* Players can spin unlimited times
* Cost per spin is \[5000] and the house edge is \[2%]
* Potential Rewards

| Reward | Base Amount | Probability |
| ------ | ----------- | ----------- |
| $GOLD  | 2000        | 15%         |
| $GOLD  | 3000        | 20%         |
| $GOLD  | 4000        | 24%         |
| $GOLD  | 5000        | 20%         |
| $GOLD  | 6000        | 10.5%       |
| $GOLD  | 8000        | 6.5%        |
| $GOLD  | 10000       | 3%          |
| $GOLD  | 25000       | 0.7%        |
| $GOLD  | 50000       | 0.2%        |
| $GOLD  | 200000      | 0.07%       |
| $GOLD  | 500000      | 0.025%      |
| $GOLD  | 1000000     | 0.005%      |

### Leaderboards

Top 100 Reputation ranking and Raid score ranking players will receive a share of rewards

| Rankings | Total Reward percent |
| -------- | -------------------- |
| 1        | 11.75%               |
| 2        | 10.25%               |
| 3        | 9.25%                |
| 4        | 8.25%                |
| 5        | 7.50%                |
| 6        | 6.75%                |
| 7        | 5.50%                |
| 8        | 4.75%                |
| 9        | 4.00%                |
| 10       | 3.25%                |
| 11       | 2.25%                |
| 12       | 1.90%                |
| 13       | 1.70%                |
| 14       | 1.50%                |
| 15       | 1.25%                |
| 16       | 1.00%                |
| 17       | 0.90%                |
| 18       | 0.80%                |
| 19       | 0.70%                |
| 20       | 0.60%                |
| 21 - 25  | 0.50%                |
| 26 - 30  | 0.42%                |
| 31 - 35  | 0.36%                |
| 36 - 40  | 0.30%                |
| 41 - 50  | 0.20%                |
| 51 - 75  | 0.15%                |
| 76 - 100 | 0.10%                |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.gangsterarena.com/help/detailed-numbers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
