nftool icon indicating copy to clipboard operation
nftool copied to clipboard

How to add weight to layers?

Open kabaluyot opened this issue 2 years ago • 2 comments

The weights for traits is clearly discussed in the docs but I can't find how to add weights to layers ..

kabaluyot avatar Jun 25 '22 05:06 kabaluyot

Hi @kabaluyot, I'm not sure what you mean by weights to layers, is it about having/not having a layer?

alephao avatar Jun 25 '22 17:06 alephao

Hi @alephao , the use case looks like this:

E.g I have a 3 layers NFT, Layer1 (Background), Layer2 (Eyes), Layer3 (Nose) Now for example each layers have at least 3 traits, and it will look like this:

Layer1 5-SuperRare.png 100-Common.png 100-Common.png

Layer2 5-SuperRare.png 100-Common.png 100-Common.png

Layer3 5-SuperRare.png 100-Common.png 100-Common.png

Now using nftool, Layers 1,2,3 in terms of rarity looks equal. Requirement is to let Layer1 have significant weight compared to the rest. So if 2 NFTs are compared for example, with the first having a super rare Layer2 (and the rest are common) and second having a super rare Layer1 (and the rest are common), the second one should be the rarest.

kabaluyot avatar Jun 27 '22 01:06 kabaluyot