Cyberdragon賽博之龍NFT遊戲系統開發案例詳細丨Cyberdragon賽博之龍遊戲開發原始碼模式

搭建MrsFu123發表於2021-11-02

  Cyberdragon賽博之龍遊戲系統開發定製案例:


  一、什麼是Cyberdragon賽博之龍?


  Cyberdragon賽博之龍:


  賽博之龍是基於bi.安智慧鏈(BSC)的全新鏈上大型網遊。玩家自由建立角色,挑戰各種副本,提高角色等級,獲取極品裝備。遊戲的最終目標是挑戰終極Boss-賽博之龍。所有玩家在參與遊戲的過程中所支付的Token將自動進入賽博之龍的寶庫,挑戰成功將可獲得賽博之龍的寶庫獎勵。在挑戰成功後賽博之龍將會重生並變得更加強大,繼續累積寶庫的資產並等待玩家的再次挑戰。


  如何進行遊戲:


  您需要一個支援BSC智慧鏈的錢包,例如MetaMask,以及一定數量的BNB代幣用於支付網路費用。同時您需要購買一定數量的BNX代幣。


  你可以通過PancakeSwap或BabySwap來交易BNX代幣。


  

Focus on contract quantification and 24-hour automatic gold payment


Dual token economy:


Cyber dragon has a dual token economy of BNX gold coins.


BNX token address: 0x8c851d1a123ff703bd1f9dabe631b69902df5f97


Cyberdragon's governance token. Holding BNX token can participate in community governance and voting, and have the right to vote on major decisions on the future development direction of the game. At the same time, holding BNX token can also obtain regular airdrop of gold coins. In addition, BNX tokens need to be consumed in some key operations of the game, such as creating characters, casting rare equipment with materials in the game, challenging cyberdragon dungeons and some top dungeons. BNX tokens can be obtained by purchasing from pancake, babyswap and other DEX, challenging specific dungeons in the game, and participating in binaryx and other defi products. In addition, most of the BNX paid by users in the game will be used to set activity rewards and return them to users. NFT game system development consulting [i35 o98 system o7i8]


Token address of gold coin: 0xb3a6381070b1a15169dea646166ec0699fdaea79


As the main currency in the game, gold coins are required in most consumption scenarios in the game. For example, heroes need to consume gold coins to upgrade, gold coins need to be consumed as travel expenses when challenging replicas, lost equipment needs to be repaired in gold coins, consumables such as potions are purchased before challenging Dungeons, and other player characters are hired in gold coins to form a team. Gold coins can be obtained by participating in daily work after creating heroes, or gold coins can be traded through DEX platform.


Role creation:


Users can create their own game characters through the role creation page. Each time you create a role, you need to pay 1bnx token. Each character created will receive a random class / attribute point / talent skill. Each created character is in the form of NFT token, and players can transfer / give / sell the character freely.


Each address can create up to 5 heroes per day.


Grade:


The characters initially created are all level 1. Consuming a certain amount of gold coins can improve the level of the character. The higher the level, the more gold coins are needed. Gold coins can be obtained through the reward of Dungeon adventure, or through the mining method of each character's daily work (see dungeon adventure and daily mining / life skills for details). Level is one of the most important attributes of a hero. Increasing the hero's level will improve the hero's combat effectiveness and mining speed, but the upgrade will not improve the hero's basic attributes. High level work and dungeons require the corresponding hero level to participate.


Please note that heroes may fail to upgrade when upgrading to a higher level. Failure to upgrade will cause the hero card to disappear forever.


Focus on contract quantification and 24-hour automatic gold payment


occupation:


The character created by the user will get a class at random. The currently supported class types include warrior / thief / mage / knight. In the future, more career types will be provided with game updates.


Warrior:


Brave and resolute, the warriors who charge in the front line and the reliable protector of the team. Weapon types that can be equipped include all one handed or two handed weapons except magic wand, light or heavy shield, medium armor or heavy armor. Have the highest strength and physical growth. You can protect your teammates through skills such as ridicule / guardian.


Thieves:


Attackers who are good at double holding can cause a lot of physical damage. Weapon types that can be equipped include all single handed weapons, light shields, light armor and medium armor. Has the highest agility and growth, and is good at dodging and avoiding damage with high probability. Stealing skills can also steal and cancel consumables and rare equipment for the team to use during the battle.


In addition to fighting, thieves are also generalists of the life profession. They can get a lot of gold tokens through the daily work of the life profession.


master:


The master who manipulates elements can not only cause high element damage, but also give the enemy a negative state. It can be equipped with a staff and robe, and can not use a shield or armor. Has the highest intellectual and spiritual growth, and is good at making AoE damage.


In addition to fighting, mages can also create various magical equipment, permanently and temporarily enchant various equipment, and improve the team's combat ability.


Knight:


A warrior with firm faith and various aura skills can provide bonus for the team. It can be equipped with all one handed weapons except magic wand, light or heavy shield, medium armor or heavy armor. It has the highest physical and spiritual growth attributes. Although their combat effectiveness is not strong, aura skills are indispensable for challenging advanced replicas.


Focus on contract quantification and 24-hour automatic gold payment


Role properties:


power:


Strength represents a character's muscle strength and strength. When using most physical damage types of weapons, the strength will determine your attack power. When using two handed weapons, you can gain a higher strength damage bonus. In addition, heavy armor and heavy shields usually have minimum requirements for strength.


Agility:


Agile representatives have the ability of hand eye coordination, limb flexibility, reaction and balance. This is the most important attribute of thieves. Agility determines a character's ability to dodge. (the Dodge ability will also be affected by the armor and shield equipped by the character, see the battle rules for details) in addition, some weapons with "dexterity" attribute and bow and arrow weapons will receive agile damage bonus. In addition, the agility attribute also determines the benefit reduction effect when holding two weapons.


constitution:


Physique represents the health status and endurance of people, and will affect the value of life. Therefore, physique is very important for each occupation. In addition to health, the level of physique will also determine the possibility that the character will be affected by some negative effects.


Focus on contract quantification and 24-hour automatic gold payment


Intelligence:


Intelligence represents the learning and thinking ability of characters. Intelligence is the most important to a mage. It affects the number of spells that can be cast, the difficulty of the opponent's resistance to spells, and the power of spells. High intelligence mage characters can learn more advanced spell types and deal higher damage when casting the same spell.


Will:


Will represents the hero's ability to bear damage and pain. In the game, the hero's will will will determine the character's resistance to physical damage.


Spirit:


Spirit represents the strength of a hero's spiritual power. A hero with strong spirit will receive less magic damage. In addition, spirit also affects the skill effects of knights and bards.


picture


battle:


Health value: health value represents the character's ability to withstand damage. Each hero will have complete health value when entering the replica or starting a PvP battle. The maximum HP of each hero = 5 * the health bonus provided by the character's equipment. When the hero receives damage, his life will be reduced. When his life is reduced to 0, the character will quit the battle. After ending a copy or PVP battle, the hero will restore all health.


aggressivity:


The ability of a hero to create damage. The attack power of each hero = the attack power attribute of the character * the damage multiplier of the equipped weapon and the bonus provided by the equipment. For example, when a hero with 90 strength is equipped with a weapon with a damage multiplier of 1.5, his attack power = 90 * 1.5 = 135. The attack power attribute of physical injury class is power, and the attack power attribute of spell injury class is intelligence. Some equipment may change attack power attributes.


Focus on contract quantification and 24-hour automatic gold payment


Defense:


The ability of heroes to resist physical damage. Defense of each hero = the will attribute of the hero and the defense bonus provided by all equipment. When receiving physical damage, the hero's actual loss of life = the opponent's attack power * 100 / (the hero's defense power 100). For example, when a hero with armor of 200 points is attacked by an attack with attack power of 120 points, the actual damage he receives = 120 * 100 / (200 100) = 40. That is, the hero will lose 40 HP in this attack.


Magic resistance:


The ability of a hero to resist spell damage. Magic resistance of each hero = the magic resistance provided by the highest piece of equipment added to the hero's spiritual attribute magic resistance. Please note that since magic resistance cannot be superimposed, it will not be better to equip multiple pieces of equipment that provide magic resistance at the same time. Magic resistance works similarly to defense.


Hit:


When attacking an opponent, you need to hit the opponent to cause damage. The hit rate of attack depends on the agility attribute of both belligerents. Hit rate of attack = agility of attacker / (agility of attacker / agility of defender / 2). For example, when a hero with agility of 80 attacks a hero with agility of 50, its hit rate = 80 / (80 50 / 2) = 76.19%, that is, this attack will have a 76.19% chance to hit the opponent.


Combat skills:


The various skills that a character has that can play an effect in combat are called combat skills. Combat skills include talents and skills. Different classes have different combat skills.


Talent:


When the player creates a character, the character has the opportunity to obtain a talent, which has been determined at the time of character creation, and cannot be learned or changed through the skill book, and cannot be upgraded. The same talent may have different levels, and the higher the level, the lower the probability of obtaining the talent.


skill:


Roles can acquire various skills by learning from skill instructors or using skill books. The same role can learn all skills of the profession (different skills may have different attribute requirements) However, the number of skills that can be equipped at the same time is limited, and the number of skills that can be equipped will continue to increase with the improvement of the role level. High level skills can only be learned through the skill book (see the dungeon adventure section for the acquisition of the skill book).


Focus on contract quantification and 24-hour automatic gold payment


Daily mining / life skills:


Daily Mining: in addition to the hot-blooded battle, heroes also have their own daily life and work. When they don't take risks, characters can participate in various jobs to obtain gold coins. Players only need to click to let the characters start working, and they can continuously obtain gold coins without additional operations. Different job types may have attribute and level requirements, and the higher the requirements , the higher the salary of gold coins that can be obtained within the same length of time.


Type of daily work:


Daily work type refers to the work that heroes can choose. By participating in daily work, heroes can earn a steady stream of gold coins. Different work types have corresponding requirements for career and attribute values. The higher the hero's attribute, the more gold coins can be earned. Users can click to receive the gold coins earned by heroes in daily work at any time. During daily work, heroes will Locked, unable to participate in copy / PK and other activities until the player chooses to end the hero's daily work. Please note that heroes at work also need your attention. If you don't receive work income for a long time, the hero will slow down and the work income will gradually decrease.


Odd jobs:


The most basic type of work has no requirements for occupation and attribute


Remuneration per block: 0.01 gold coins


blacksmith:


Professional requirements: Warrior


Attribute requirements: strength above 85 points and physique above 60 points


Work reward per block: 0.01 (hero's strength attribute - 85) * 0.005 gold coins


hunter:


Professional requirements: Thief


Attribute requirements: Agility above 85 points and strength above 60 points


Work reward per block: 0.01 (hero's agility attribute - 85) * 0.005 gold coins


librarian:


Professional requirements: mage


Attribute requirements: Intelligence above 85 points and spirit above 60 points


Work reward per block: 0.01 (hero's intelligence attribute - 85) * 0.005 gold coins


Focus on contract quantification and 24-hour automatic gold payment


After reaching 86400 blocks (about 3 days), hero's income will drop to 80%. After reaching 201600 blocks (about 7 days), hero's income will drop to 40%. After 403200 blocks (about 14 days), hero's income will drop to 10%. The above periods for odd jobs are 201600 (7 days) / 403200 (14 days) / 806400 respectively (28th). Click to get rewards or launch work to restore the hero's income to normal.


In the future, we will gradually add more types of daily work.


Dungeon Adventure:


Dungeon adventure is the most hot-blooded and exciting part of the game. Kill monsters, challenge the boss and seize the treasure chest. There are gold coins, materials, skill books and best equipment.


Dungeon adventure includes two types: single dungeon and team dungeon.


Single dungeon:


A dungeon that only needs one character to participate. When a player sends a character to the dungeon to challenge, the system will automatically generate a monster randomly according to the difficulty of the dungeon to fight with the player. There is no need for user operation in the battle process. After the battle is successful, the player can get a copy reward. Some copies may encounter the boss randomly, and defeating the boss can get a higher reward. If the player is in the battle process If you are defeated, you can get the reward of the previous victory.


Team dungeon:


For dungeons that require more than two characters to form a team, when players form a team and send them to the dungeon to challenge, the system will automatically generate monsters randomly according to the difficulty of the dungeon to fight with players, and the combat process does not require user operation. The team dungeon may contain multiple stages, each stage has a boss, and at the end, there will be a final boss of the dungeon waiting for the challenge After the challenge becomes a stage, players can choose to continue to challenge the next stage or withdraw from the dungeon. Losing in the team dungeon will lose all rewards of this challenge.


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70009264/viewspace-2840149/,如需轉載,請註明出處,否則將追究法律責任。

相關文章