Hi,
I'm using the Extra Enemy Drops plugin, and I'm using it so enemies can drop items, armors, and weapons with a rarity system.
It works fine, but right now I'm facing an issue, which is a more practical than a technical one.
The first problem is that the drop rate of any weapon should be 5%. However, when an enemy might drop two different weapons, I don't want the rates to add up. If both weapons have 5% drop rate, so there's in fact around 10% chance of a weapon being dropped so depending on how many different weapons an enemy might drop, I have to recalculate the drop rates (If they drop 3 kinds of weapon/armor/accessory, I have to recalculate each rate to be 1.7%. Looks tedious)
It wouldn't be so bad if it wasn't for the second problem. 😅
In my game, slimes, thieves, and ghosts kinda harvest everything, and are the only enemies that are likely to drop any kind of weapon/armor/accessory that is not a signature one. And I have a LOT of them in my database.
When I tried to setup the loot table I concluded that I would have to setup 125 notetags, for 25 sets, and solve the equation x^25 = 0.95 to get a drop rate that would be no longer valid if I add another item to the pool later.
TL;DR : I need someone to help me extend the Extra Enemy Drops plugins so I can now put several items separated by a comma in both <Item/Weapon/Armor X: Y%> and <Conditional Item/Weapon/Armor X Drop> so I can input things like this :
<Weapon 50,51,52,53,54: 5%>
Meaning the enemy has 5% chance to drop one of the mentioned items, and not all of them
I'm using the Extra Enemy Drops plugin, and I'm using it so enemies can drop items, armors, and weapons with a rarity system.
It works fine, but right now I'm facing an issue, which is a more practical than a technical one.
The first problem is that the drop rate of any weapon should be 5%. However, when an enemy might drop two different weapons, I don't want the rates to add up. If both weapons have 5% drop rate, so there's in fact around 10% chance of a weapon being dropped so depending on how many different weapons an enemy might drop, I have to recalculate the drop rates (If they drop 3 kinds of weapon/armor/accessory, I have to recalculate each rate to be 1.7%. Looks tedious)
It wouldn't be so bad if it wasn't for the second problem. 😅
In my game, slimes, thieves, and ghosts kinda harvest everything, and are the only enemies that are likely to drop any kind of weapon/armor/accessory that is not a signature one. And I have a LOT of them in my database.
When I tried to setup the loot table I concluded that I would have to setup 125 notetags, for 25 sets, and solve the equation x^25 = 0.95 to get a drop rate that would be no longer valid if I add another item to the pool later.
TL;DR : I need someone to help me extend the Extra Enemy Drops plugins so I can now put several items separated by a comma in both <Item/Weapon/Armor X: Y%> and <Conditional Item/Weapon/Armor X Drop> so I can input things like this :
<Weapon 50,51,52,53,54: 5%>
Meaning the enemy has 5% chance to drop one of the mentioned items, and not all of them