Hello!
Today I'm releasing a rework to the loot system in the plugin
Here it is in a nutshell:
- The 1 in X system previously used has been changed to use percentages
- These percentages are set in the config under "item-chances" and has replaced "rare-chance" and "epic-chance"
-
Code (YAML):
# Chance for drops after beating vendrick. 1 = 100%, 0.01 = 1%, 0.001 = 0.01%
# Put the chance as 0 to prevent that item being dropped
item-chances
:
- 0.15
# Emerald block
- 0.11
# Eternal Fragment
- 0.11
# Essence of eternity
- 0.08
# Infinium
- 0.05
# Totem of undying
- 0.02
# Eternal Hatchet
- 0.02
# Shatter spine
- 0.01
# The catalyst
- 0.007
# Pre-heated oven
- 0.007
# Fusion chamber
- You are able to disable drops by setting the chance to 0
- This new system only takes 48 lines of code. The old one took over 200!
It works just as it did before, even better in fact. I hope you enjoy the new flexibility and less confusion around loot.
Also in today's update:
- Bug fixes
- Fixed attacks happening at the same time (about time)
- Vendrick no longer attacks people who aren't in the fight
- You are now able to use the Energy Rifle when it is damaged
- Made the drop messages found in lang.yml actually appear in the plugin
- Extra changes
- Sounds now play based off the rarity of drop you get
That's all for now. Any issues let me know.
Oh and thanks so much for 900 downloads. 100 more to go!
Still here? Good. Check this out.
The last chapter in the distortion series. Coming soon.