Hey y'all,
I'm currently working on a custom skript where I need my own loot table. There are items with a high percentage to drop and some with a low percentage, I could do chance of x: but as those loot tables would have around 70+ items, I've been looking around for a way to do this without 500 lines of chance and if else.
Yet I, for the love of Skript, couldn't find any clever way to do this, does anyone of you have an idea on how to approach this?
All the data regarding versioning etc.:
Thanks a lot for the help!
I'm currently working on a custom skript where I need my own loot table. There are items with a high percentage to drop and some with a low percentage, I could do chance of x: but as those loot tables would have around 70+ items, I've been looking around for a way to do this without 500 lines of chance and if else.
Yet I, for the love of Skript, couldn't find any clever way to do this, does anyone of you have an idea on how to approach this?
All the data regarding versioning etc.:
Code:
Server Version: git-Paper-387 (MC: 1.18.2)
Skript Version: 2.6.3
Installed Skript Addons:
- skript-yaml v1.4
- skript-reflect v2.3 (https://github.com/TPGamesNL/skript-reflect)
- skRayFall v1.9.28 (https://sk.rayfall.net/)
- SkQuery v4.1.7
- SkBee v1.17.3 (https://github.com/ShaneBeee/SkBee)
- Skript-Packet v2.1.0 (www.github.com/Anarchick/skript-packet)
Installed dependencies:
- WorldGuard v7.0.7+216b061
Thanks a lot for the help!