PVP
⚔️ PvP System
"Activate PvP"
To engage in PvP encounters, you must enable PvP mode. By activating PvP, you open yourself to potential attacks from other players, while also gaining the ability to initiate attacks against those who have likewise enabled PvP.
Bid & Level Bracket Enabling PvP requires sending a designated amount of tokens to the Game rewards wallet. This amount, which serves as your bid placed in the Game's wallet, is the sum you acknowledge as at risk in the event of combat. Additionally, you are assigned to a level bracket, which ensures you are matched with players in similar bid/level categories.
PvP System Smart contracts allocate tokens from the prize pool to victors. The Base Farm PvP system integrates various APIs and SDKs (Web3 + Unity + Chainsafe SDK), incorporating a smart contract on the Base Chain responsible for distributing rewards. The diagram below provides an overview of this process. This system, in conjunction with the "Activate PvP" feature, establishes a fair PvP environment for all participants.
Scenario:
Player 1 and Player 2 each deposit 1000 tokens into the game wallet. In a subsequent fight, Player 1 (the attacker) inflicts 75% damage on Player 2. As a result, Player 1 receives 1500 tokens (75% of the damage dealt), while Player 2 receives 500 tokens (25% of the damage received). The same principle applies if the attacker had dealt 25% damage, resulting in a proportional distribution of tokens between the players.
How is Damage Calculated?
Damage calculation employs a fair equation that incorporates variables from the PvE world, such as the number of soldiers, building levels, wall strength, defense, and attack capabilities.
Reasoning Behind this Approach: We adopted this approach to circumvent the minting/burning system utilized by other games, which often leads to overall token devaluation. Our system rewards players who invest time in PvE, favoring skilled individuals who strategically select buildings and upgrades.
Last updated