So challenges object contains a list of all the challenges with true if it's active or false if it's not. Hardcore is a special case since the player might have that challenge enabled but he failed it by dying.
Just wanted to give an example of how it could be implement, there are other ways of doing this and this might (probably is) not the best :stuck_out_tongue:
So challenges are being added to classes and it would be really cool if the Player API would return those information too for each player class.
Example:
So
challenges
object contains a list of all the challenges withtrue
if it's active orfalse
if it's not.Hardcore
is a special case since the player might have that challenge enabled but he failed it by dying. Just wanted to give an example of how it could be implement, there are other ways of doing this and this might (probably is) not the best :stuck_out_tongue: