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

Material lists for Tiers #39

Closed ToppleTheNun closed 11 years ago

ToppleTheNun commented 11 years ago

Material lists for tiers don't work. Using the default tier.yml formatting, but with Materials, the code won't read the Material lists.

Legendary:
  Color: Gold
  Chance: 3
  Material:
  - Diamond_Sword
  - Diamond_Axe
  Enchantments:
    Amt: 7
    Levels: 10
  Lore:
  - 'Required Level: 500'

This tier.yml results in all kinds of items, not just diamond swords and diamond axes. The best possible thing to do, I think, is to switch from using material names to using material ids.

deathmarine commented 11 years ago

I might need to refine the wiki a bit..

Legendary:
  Color: Gold
  Chance: 3
  Materials:
  - 'Diamond_Sword'
  - 'Diamond_Axe'
  Enchantments:
    Amt: 7
    Levels: 10
  Lore:
  - 'Required Level: 500'

Materials was the problem. However the photo shows autoloading prefix suffix. Alt Text