Battle Resolution Logic

Battle Resolution

At the end of each epoch, every Hub under attack is resolved one by one. The outcome is determined by splitting the odds of victory between all participants based on the power they bring.


Step 1: Calculate Total Power

All attack and defence power is added together:

Powertotal=i=1nAPteam i+DPtroops+DPbasePower_{total} = \sum_{i=1}^{n} AP_{team\ i} + DP_{troops} + DP_{base}

  • This is the pool of power at the Hub.

  • Think of it like a pot of lottery tickets — the bigger your contribution, the more tickets you hold.


Step 2: Assign Probabilities

Each side’s chance of winning equals its share of the total power:

For attacker team i:

P(Teami captures Hub)=APteam iPowertotalP(\text{Team}_i \text{ captures Hub}) = \frac{AP_{team\ i}}{Power_{total}}

For defender:

P(Defense holds)=DPtroops+DPbasePowertotalP(\text{Defense holds}) = \frac{DP_{troops} + DP_{base}}{Power_{total}}

  • If attackers succeed, one of them captures the Hub.

  • If defense wins, the Hub stays under the same chain.


Step 3: Resolve the Battle

At epoch end, a weighted random draw is made. The result follows the probabilities above.

  • More power = better odds, but no guarantees.

  • Multiple attackers share chances proportional to their strength.

  • Defenders always retain some chance regardless of them committing troops, even against stronger foes.


Example

  • Total Power at Hub = 1,000

    • Attacker A: 300 power → 30% chance

    • Attacker B: 200 power → 20% chance

    • Defender: 500 power → 50% chance

When the epoch ends, a draw is made. Whoever’s share is selected takes (or keeps) the Hub — and liquidity shifts accordingly.


👉 In short: the more power you bring, the more likely you are to win, but every battle has risk, and even underdogs can surprise. After the battles resolve, liquidity is moved from unsuccessful troop deployments to successful troop deployments and hub defences.

Last updated