PatrickAlphaC/dungeons-and-dragons-nft

get-character.js

bhanu2507 opened this issue · 0 comments

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