🟡Step 4 - Crystal Ball configuration

Now, you can set up the random items that players can receive when interacting with the Crystal Ball in your game.

Go to the file resources/[ks_myspells]/ks-magic/config.lua and search the line 28 or look for 'CristalBallItems'.

Here you can edit the item, quantity and rarity drop rate for the Crystal Ball

  • 'name': This is the name of the item the player can receive

  • 'cant': This is the amount of items the player can receive

  • 'rarity': This is the probability of an item to be given to player. common being the most given items, then rare with fewer chances of getting it, and then legendary having the lowest drop rate.

Last updated