Multiple enchantments syntax, enchant level over 5 not working
Hecatonchyr opened this issue · 3 comments
Consider the following sword:
drop: DIAMOND_SWORD@!DAMAGE_ALL#5,FIRE_ASPECT#2~&6Angelic Ray
This drop gives a diamond sword named Angelic Ray (gold color) with sharpness I. That's because the separator between each enchantment and which comes from the enchantments bukkit dev page is not "," but "!", like in the following:
drop: DIAMOND_SWORD@!DAMAGE_ALL#5!FIRE_ASPECT#2~&6Angelic Ray
That's the difference between a sharpness I and a sharpness V fire aspect II. I think it should be mentioned in the enchantments bukkit dev page how to add multiple enchantments.
Now I set my enchantments_ignore_level to true on Otherdrops and unsafe_enchantments on true on Essentials. I do the following:
drop: DIAMOND_SWORD@!DAMAGE_ALL#10~&6Angelic Ray
This drop gives a diamond sword named Angelic Ray (gold color) without any enchantment. I tried with quotes (eg. "10") and it gives me a sharpness I. I verified I could ignore level of enchant by /give Hecatonchyr 276 1 sharpness:200 and also /enchant sharpness 200 on a diamond sword. I correctly get the sword which does ~110 hearts of damage and around 240 with critical hit (!). So I do think the problem comes from Otherdrops.
Thanks for the report. The separator issue is because it changed in a
recent beta to avoid issues that the comma caused. I should note both
formats on that page though, will fix that.
Will look into the max level issue when I can.
On 16/03/2013 9:00 AM, "Hecatonchyr" [email protected] wrote:
Consider the following sword:
drop: DIAMOND_SWORD@!DAMAGE_ALL#5,FIRE_ASPECT#2~&6Angelic Ray
This drop gives a diamond sword named Angelic Ray (gold color) with
sharpness I. That's because the separator between each enchantment and
which comes from the enchantments bukkit dev page is not "," but "!", like
in the following:drop: DIAMOND_SWORD@!DAMAGE_ALL#5!FIRE_ASPECT#2~&6Angelic Ray
That's the difference between a sharpness I and a sharpness V fire aspect
II. I think it should be mentioned in the page how to add multiple
enchantments.Now I set my enchantments_ignore_level to true on Otherdrops and
unsafe_enchantments on true on Essentials. I do the following:drop: DIAMOND_SWORD@!DAMAGE_ALL#10~&6Angelic Ray
This drop gives a diamond sword named Angelic Ray (gold color) without any
enchantment. I verified I could ignore level of enchant by /give
Hecatonchyr 276 1 sharpness:200 and also /enchant sharpness 200 on a
diamond sword. I correctly get the sword which does ~110 hearts of damage
and around 240 with critical hit (!). So I do think the problem comes from
Otherdrops.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/171
.
Tested max level in latest dev build (#34) and works fine as long as you have both enchantments_ignore_level and enchantments_use_unsafe set to true. Can you try with the latest and let me know how it goes?