Hi everyone,
I'm just discovered the Advanced Random plugin and think I can use it for my game when I need to drop pick up some loot randomly.
For now I create an array as a .Json file to manage my loot:
The column 0 is for the name, the 1 is for the rarity of my object and the 3 is for the object cost. For now I don't need to use the "Cost" column for what I want to do.
My main idea is to use the rarity column for the weight entry in te AdvancedRandom. So for exemple I would like the object "Banana" to spawn 75 more time than the others objects.
I tried to create my AdvancedRandom table using this code:
I can see that is doesn't really the correct way to use the plugin, the debug show me kind of a mess and repeat 3 times my datas (because of my 3 column)
I can I correctly set this?