Idea

Tolin Simpson avatar image
Tolin Simpson suggested

Access Drop Table Odds

I would like to be able to access the odds in a drop table, this way It would be possible to assign a rarity based directly off the chance of an item dropped from a drop table.

For Example: EvaluateRandomResultTable could return the resultItemId and it's odds we could then use the odds to set rarity in CustomData.

Currently we have to decide on the rarity of an item and weight the item to that range in the drop table according to the rarity we want rather than it being the other way around. I would like it to be more dynamic so we don't have to go back and forth between the Game Manager and CloudScript when we make a new item with rarity preset.

In-Game Economy
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Comment

·
brendan avatar image
brendan commented

We now provide https://api.playfab.com/Documentation/Server/method/GetRandomResultTables, so that you can access the table items and their weights in Cloud Script or your own custom game server.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

drallcom3 avatar image drallcom3 commented ·

Is there a way to get it on the client? Nowadays you're often legally required to show odds for droptables (e.g. gacha).

0 Likes 0 ·
Good Guy avatar image Good Guy drallcom3 commented ·

Make a CloudScript that gets them and returns them to the client.

0 Likes 0 ·

Write a Comment

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.