How to implement evolveTo? #761
Replies: 3 comments
|
💬 kewkylyu on Discord wrote: Because in the tcg, there's no definitive "evolve to" rule where it can be "evolve from" is defined but the card text, but you might create a script using the card api, add the data to the ts and write it. |
|
💬 kawint on Discord wrote: I see, "evolve to" should definitely be a list of Cards. The only thing which keeps me from implementing this in the client is that this would create a lot of pressure on the API server. This list may be cached but has to be updated from time to time as the database may change over time. |
|
💬 avior on Discord wrote: evolve to is something I haven't considered a lot yet, as it's quite complex to make something good, a list of card would be quite a lot, but could be implemented as a sub request tho... if there is more intereset I'll look at it more :D |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
💬 kawint on Discord wrote:
What if I want to show all the evolutions of a pokemon. A card object contains the evolveFrom property but no evolveTo property. Do you have a suggestion on how to implement this?
All reactions