Combat Mechanics
Each combat uses a sophisticated crit system that determines battle outcomes through probability-based mechanics.
🎲 Crit System
The Titan combat system uses critical hits to determine winners:
- Base Win Chance: Determines the matchup's crit rate table
- Hero Crit Rate: Chance for your hero to land a critical hit (ends battle in victory)
- Titan Crit Rate: Chance for the Titan to land a critical hit (ends battle in defeat)
- First Strike: Randomly determined (50% chance hero attacks first)
- 10 Rounds: Combat lasts up to 10 attack rounds
- First Crit Wins: The first critical hit determines the winner
📐 Crit Rate Formula
The crit rate system uses probability theory. The formula calculates the probability of no critical hit occurring in a round:
q = (1 - a) × (1 - b)
P(crit) = 1 - q = a + b - ab
Where:
- q = Probability of no crit in a round
- a = Titan crit rate (0-1, e.g., 0.06 = 6%)
- b = Hero crit rate (0-1, e.g., 0.75328 = 75.328%)
📊 Crit Rate Examples
| Base Win % | Hero Crit Rate | Titan Crit Rate |
|---|---|---|
| 95% | 75.318% | 6.000% |
| 85% | 55.683% | 12.000% |
| 75% | 41.912% | 15.000% |
| 65% | 35.588% | 20.000% |
| 50% | 23.000% | 23.000% |
| 25% | 5.508% | 25.000% |
| 10% | 4.039% | 45.000% |
| 5% | 2.516% | 55.000% |
| 2% | 2.193% | 75.000% |
⚡ Dynamic Combat: Higher base win chances give heroes significantly better crit rates, making rarity matchups crucial for success.
⚔️ Combat Flow
- First Strike Determination: 50% chance hero attacks first
- Round 1-10: Alternating attacks between hero and Titan
- Crit Check: Each attack has a chance to crit
- Victory Condition: First crit wins the battle
- No Crit After 10 Rounds: Winner determined by first strike advantage
🔒 Security
- Secure Randomness: Uses blockhash, prevrandao, and multiple entropy sources
- Bot Execution: Bot executes combats to prevent user manipulation
- On-Chain: All randomness sources are transparent and verifiable
🔗 Related Topics
- Win Probabilities: See how base win rates map to crit rates
- Rewards: Understand how combat outcomes affect rewards
- Referral: Learn about referral system
- Revenue: Understand revenue generation