dfktools icon indicating copy to clipboard operation
dfktools copied to clipboard

Fix pet prof bonus parser

Open YourAverageLord opened this issue 2 years ago • 1 comments

Based on this convo https://discord.com/channels/861728723991527464/978827980874874940/1143903888144072714

https://devs.defikingdoms.com/api/community-graphql-api/pets#bonuses

The profBonus field is padded by 10000 * eggType

YourAverageLord avatar Aug 23 '23 14:08 YourAverageLord

That doesnt look right. The pet contract returns non padded profBonus. Could the padding only exists on the API ?

0rtis avatar Aug 23 '23 15:08 0rtis