Open owap opened 6 years ago
That and new traits (cattributes) are revealed quite often
This is something I plan on adding. Just wanted to get it working in general first. I asked the KittyExplorer team if they would be able to provide the api for it.
are hardcoded values at least accurate for now?
https://github.com/HaJaeKyung/KittyExtension/blob/master/script#L40
var tbl = {"violet":{"count":0},"googly":{"count":0.03},"wingtips":{"count":...
A little out of date eg googly has 81 (0.071%) kitites (at the time of this post)
As the market adjusts to new cats being bred, the values in the
tbl
variable are going to change.Consider populating the
tbl
variable on script startup by making an HTTP request to a service that gets the current rarity of traits. That way, every time the script is restarted, the commonality values are updated automatically without requiring a user to re-download scripts (or requiring you to publish updates!)