question

jonaskempeneers193 avatar image
jonaskempeneers193 asked

Question about giving items/currency

Hello,

I am making an app with Unity where you fight monsters/bosses rpg-style.

So when the player defeats the npc they get "loot".

But I am struggeling to see how I do this the best way. As far as I understand it just granting items and currency is not secure, so it is best not to do it.

Then I found something about the droptables, which looks like a nice system but I can't seem to add items that would drop always (like bones or something).

What would be the best way to go about this?

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

·
brendan avatar image
brendan answered

Have a look at this tutorial: https://api.playfab.com/docs/tutorials/landing-commerce/catalogs

If you want to have specific items (like a set amount of currency) always drop, just make them part of the bundle or container. The drop table system is specifically for randomization of what you give the player.

1 comment
10 |1200

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

jonaskempeneers193 avatar image jonaskempeneers193 commented ·

Okay now I get it, thank you very much!

0 Likes 0 ·

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.