PatrickAlphaC / dungeons-and-dragons-nft

#chainlink #nft
MIT License
633 stars 278 forks source link

get-character.js #11

Open bhanu2507 opened 2 years ago

bhanu2507 commented 2 years ago

This will create a new character with random stats! Depending how often you deploy, you can pick which character by changing the dnd.getCharacterOverView(1) command in get-character.js to swap the 0 out with whatever tokenId of the character you like.

I don't see calling of getCharacterOverView method in the get-character.js. Should we changing dnd.characters(0) to '1' to set the first character array?

Thanks