deathmarine / DiabloDrops

Bukkit plugin that adjusts the mob dropping mechanics to include regularly dropped enchanted items that could be commonly found in Diablo.
http://dev.bukkit.org/bukkit-plugins/diablodrops/
GNU General Public License v3.0
17 stars 19 forks source link

Set bonuses - set.yml [Suggestion] #15

Closed UltraFaceguy closed 11 years ago

UltraFaceguy commented 11 years ago

Basically you can define sets in a set.yml file. Format would be as follows.

Faceguy's: # Name of set ...Type: prefix # Prefix or suffix ...Rank: Magical # Or just color, if it makes things easier ...Tier: Gold # Gold Diamond etc, or ANY ...Bonus: # Set Bonus ......-1 Speed ......+1 Lightning ......- 1 AnyGivenLoreEnchantmentThatCanBeUsedInLore.txt

Basically it would work like this: Upon item creation, a check would be made on the set.yml for a matching name (Faceguy's). It would then check the type. If 'Faceguy's' is the prefix, it continues on to check the rank (or color) of the item, and optionally the tier of the item. If it passes all of this, text is added saying

"Faceguy's set - Wearing all pieces of this set grants the following enhancements. -1 Speed +1 Lightning -1 AnyGivenLoreEnchantmentThatCanBeUsedInLore.txt"

This would apply once, and not for each item.

So yeah that's my idea. Let me know what you think, and feel free to alter it in any way shape or form!

deathmarine commented 11 years ago

We've had the idea to use sets. But its not been completely hashed out yet. But making a separate yaml might be the way to go when defining sets. Originally the idea was to have matching prefixes considering it would be a normal 1 out of 1000 chance of getting each item.(198*5) items Lets not be literal. Either way we'll cook something up for it.

ToppleTheNun commented 11 years ago

We've got code to detect if there's a set or not, we just haven't implemented it yet. It may come later.

UltraFaceguy commented 11 years ago

Alright sounds great. I eagerly await it ;D

deathmarine commented 11 years ago

This has been implemented.