Battle System

Engage in thrilling battles against other players to prove your strategic prowess and climb the leaderboard.

Initiating a Battle

Embark on battles to test your army's strength and strategy against other players.

Steps to Initiate a Battle:

  1. Access Battle Menu:

    • Navigate to the "Battle" section on your dashboard.

  2. Select Opponent:

    • Choose a player to challenge. You can select from the board or search for a specific player.

  3. Choose Your Deck:

    • Select one of your army decks to deploy in the battle.

  4. Confirm Battle Details:

    • Review the battle parameters, including deck compositions and potential rewards.

  5. Start Battle:

    • Click on the "Start Battle" button.

    • Confirm the transaction in your wallet to initiate the battle.

  6. Battle Processing:

    • The battle is processed on the blockchain using the BattleContract, ensuring fairness and transparency.

    • Once processed, the outcome will be available in the "Battle Results" section.

    • Future development will see our battles conclude within an RTS setting.

Battle Mechanics

Fjunlund's battle system combines deterministic unit attributes with randomized factors to create dynamic and unpredictable outcomes.

Key Components:

  • Unit Attributes:

    • Attack Power: Determines the damage potential.

    • Defense Power: Mitigates incoming damage.

    • Speed: Influences the order of actions.

    • Special Abilities: Unique skills that can turn the tide of battle.

  • Random Factors:

    • Critical Hits: Chance to deal double damage.

    • Dodges: Chance to evade incoming attacks.

    • Spell Effects: Randomized outcomes of magical abilities.

Battle Flow:

  1. Initiation:

    • Both players deploy their selected decks.

    • Battle parameters are set, including terrain and weather conditions (if applicable).

  2. Engagement:

    • Units take turns based on their speed attribute.

    • Attacks are resolved, factoring in attack and defense power, as well as random modifiers.

  3. Resolution:

    • The battle concludes when all units of one side are defeated.

    • The winning player earns rewards, while the losing player may face penalties.

Winning Battles

Victory in battles is determined by a combination of strategic unit placement, effective resource management, and favorable random factors.

Determining the Winner:

  • Total Strength: Sum of attack and defense powers of all units.

  • Strategic Advantages: Unit synergies and special abilities.

  • Randomness: Critical hits, dodges, and spell effects can influence outcomes.

Post-Battle Outcomes:

  • Winner:

    • Earn rewards such as ERC20 tokens, rare NFTs, or resource bonuses.

    • Gain experience points to level up your army and unlock advanced units.

  • Loser:

    • May lose a portion of resources or face temporary army restrictions.

    • Opportunity to strategize and strengthen your army for future battles.

Claiming Rewards:

  1. Access Rewards Section:

    • Navigate to the "Rewards" section on your dashboard.

  2. View Battle Outcomes:

    • Review the details of your recent battles and associated rewards.

  3. Claim Rewards:

    • Click on the "Claim" button next to each eligible reward.

    • Confirm the transaction in your wallet to receive your rewards.z

Last updated