Closed tara81 closed 8 years ago
PhatLoots can easily support this as it already does something similar with mob loot. I was thinking about tying the Luck attribute to increased loots. But this would be much simpler. However, permission nodes defined in a config file goes against the Bukkit API so I may try to think of another way to do that.
It doesn't have to be in the configuration, Just as long as we can select the amount increased :D
It appears McMMo does it with their skills:
I just re-read the Bukkit documentation and I guess it doesn't actually say that you should dynamically create permissions like this. So that is what I will likely do.
Almost done with this... might have it for you tonight.
awesome to hear !
On the third night of xmas, my codi gave to me, 3 new permissions, 2 new world loot commands, and an addon that prevents ninja looting.
Just finished testing. there should be a dev build available later today. Hopefully during the noon hour if I have time during my lunch to commit the changes.
In the meantime, permission nodes for this are in the following format: phatloots.bonus.# with decimal places are also supported i.e. phatloots.bonus.10.5. If a Player has multiple permission nodes then the bonuses get stacked. Remember that this is percentage based so anything over 100 is equivalent to 100%.
You will be required to register each number within the config file in an array format. i.e. [0.5, 3, 10, 15.2, 25]
awesome so the new config will have something like Bonus Perms: [0.5, 3, 10, 15.2, 25] ?
And here is the dev build which includes this feature: https://github.com/Codisimus/PhatLoots/releases/tag/dev-build-77
does this work on 1.9.4 ? Whats your paypal again?
Yes, this supports versions 1.9 and above. My PayPal email is codisimus@gmail.com
Enable a permission that allows players with the permission to have an increased chance to get loot drops . Example: A phatloot has a collection that has 2 items : A bow and a sword. The bow is at 20% chance and the sword is at 100% chance. With the permission given, it raises the chances on all loot by 5% or 10% or 20% or 50% ! Depending on what you put in the configuration.
Could be a donator perk that is EULA compatible.
Config example:
Custom Permission1: Loot chance boost permission: phatloots.boost.10 Loot chance boost percentage: 10 Custom Permission2: Loot chance boost permission: phatloots.boost.20 Loot chance boost percentage: 20