You are viewing a single comment's thread from:

RE: Hivejs: How to transfer Splinterland-Cards Part 2? Wie transferiert man Splinterlandskarten Teil 2? #11

in #hive2 years ago

Thank you for your answer.

Have one more Question.
Do you know how i can get the bcx for a Card?

I want to show Cradcollection sorted by market price. I can get low_price_bcx with https://api.splinterlands.io/market/for_sale_grouped

For most cards the bcx seams to be same as xp.

But for some Cards i have compered it is not equal.

I looked at peakmonster, for bcx and xp in the api.

Here is an example where it do not match:

https://ecency.com/hive-121566/@mein-senf-dazu/splinterlands-xp-vs-bcx

Sort:  

Hello. I can probably write up a more detailed answer, but the short of it is this:

The old XP system was used for card ids as follows, before it was replaced with the much simpler 1 xp = 1 bcx. Back before the game play was designed there were plans for cards to level in game-play. This didn't eventuate, leading to the simplification we currently see.

There are a few exceptions in how the XP are split, but I'd need more time to split that up in a post to explain it all.

``
if (id <= 134 || (id >= 205 && id <= 208) || (id >= 212 && id <= 223 || id === 238 || id === 237))

let alpha_beta_xp = {
alpha: {
false: {0: 20, 1: 100, 2: 250, 3: 1000},
true: {0: 250, 1: 500, 2: 1000, 3: 2500}
},
beta: {
false: {0: 15, 1: 75, 2: 175, 3: 750},
true: {0: 200, 1: 400, 2: 800, 3: 2000}
},
}
``

All other cards are the new XP system, unless I've missed something.