> For the complete documentation index, see [llms.txt](https://wavey-wizards.gitbook.io/cronos-labs-dev-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wavey-wizards.gitbook.io/cronos-labs-dev-documentation/nft-functionality.md).

# NFT Functionality

## The Art

<figure><img src="https://2811743957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAKaKQbtRwArSY0c1SLAh%2Fuploads%2FrVLAZsjzdPhTR7KdbWBr%2Fall-fire.png?alt=media&amp;token=d8c2cd09-f8c1-4fae-a8ae-e66874aba83d" alt=""><figcaption><p>above is an example of some of the traits, here is the four levels of fire wizards </p></figcaption></figure>

The minting Process works with a user buying as little as 1 to as many as they would like in order to play the game. All card decks will be comprised of 30 cards, if a play does not have a full deck of 30 cards (the NFTs they currently hold) they will be doubled, with any other cards missing will be filled by basic cards.

The structure of the mint will comprise of 12 traits. The main traits(hat, top bottom beard) within each category I.e fire water, etc will all be self-contained in their own category to maintain a cleaner design and produce more of an all-rounded wizard I.e fire wizard looking all like he belongs to this category.<br>

Within these categories levels range from 1 to level 4, four being the most powerful.

In order for the game to have a smooth play each category will have to be shown a certain amount within the mint based on the calculations below:<br>

card cost: 1-2 = 3 NFTs

card cost: 3-4 = 5 NFTs

card cost: 5-6 = 4 NFTs

card cost: 7-8 = 2 NFTs

card cost: 9-10 = 1 NFT<br>

With this information the below equations have been made to calculate health, attack, and how the abilities will be formed for each category.<br>

## how the attack/health/card cost is calculated &#x20;

each card is completely unique using the system i have created below:

<figure><img src="https://2811743957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAKaKQbtRwArSY0c1SLAh%2Fuploads%2Fxvqkrk6vO9pV38UbdDRv%2Fattack-calc.jpg?alt=media&amp;token=385bf027-9f45-4c79-9047-12a2f09193d7" alt=""><figcaption></figcaption></figure>

attack shown above for example would be 3 types of traits on the hat just for water. basic, intermediate, and advanced. Taking hat basic, top intermediate, bottom advanced, and book basic will give us a total of 6.

<figure><img src="https://2811743957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAKaKQbtRwArSY0c1SLAh%2Fuploads%2FAl1nRHSgm9DPZn8w7Wap%2Fhea%3Bth-calc.jpg?alt=media&amp;token=8a0afe2f-78e5-48d3-9ea5-e208b4383292" alt=""><figcaption></figcaption></figure>

health is worked out similarly to attack, one from each category then all added together. so skin level 4, eyes level 1, mouth level 3 and beard level 1 giving us a total of 7

now we have the attack and health of the card we work out the cost to play the card itself. examples are shown below.

<figure><img src="https://2811743957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAKaKQbtRwArSY0c1SLAh%2Fuploads%2FeuGd1mecGqxF5iy7cm0b%2FUntitled-2.jpg?alt=media&amp;token=62184f78-594e-4148-97a6-262193ae3f6b" alt=""><figcaption></figcaption></figure>

so with the calculations above of 6 attacks and 7 health, the cost to play the card would = 5. (some numbers will be subject to change based on this.)

## How spells are calculated.

all cards will have associated spells based on the metadata from the NFT. example below:

<figure><img src="https://2811743957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAKaKQbtRwArSY0c1SLAh%2Fuploads%2FhgiRbvRsYIkWNTaqOc3F%2Fabilty.jpg?alt=media&amp;token=8ecc8250-ad26-4399-9bfd-42bf907aa2dd" alt=""><figcaption></figcaption></figure>

above we have an example of how all spells and abilities of the cards are calculated with associated percentages, these will all be pulled through the metadata to produce the related spell in the game. Each element category(fire, water, etc) has 8 abilities 4 spells, and 4 traps. They are ranging from all levels 1-4. Please note that a level 4 spell can still be attached to a 1 elixir cost card giving a greater variety of gameplay.

All functions of abilities will be shown[ here](/cronos-labs-dev-documentation/game-functionality/card-layout-and-abilities.md)&#x20;

<br>
