question

entelicon avatar image
entelicon asked

Stacked DropTable Question

If I have a drop table that contained other drop tables, would I be able to access a random value from the drop tables underneath it or would it return the actual drop table itself?

data
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 Answer

·
1807605288 avatar image
1807605288 answered

The result of this method:
https://api.playfab.com/documentation/server/method/EvaluateRandomResultTable
is always an item ID, never a table ID, so the first drop table rolls another drop table, it will continue to evaluate until it rolls an item. We have internal protections against infinite loops.

The result of this method:
https://api.playfab.com/documentation/server/method/GetRandomResultTables
is the drop table itself. It never rolls, and never gives you an item ID.

10 |1200

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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