DiabloDrops

DiabloDrops

41.7k Downloads

Help with DiabloDrops bonuses and rarity of custom items

2797jake opened this issue ยท 3 comments

commented

I'm trying to add invisibility and other various bonuses to a custom diablodrops item of mine defined in custom.yml, how can I do this? Can I do it without making a set? If I do have to make a set how do I do that and how do I assign an item to that set?

For example I want to add invisibility to this Item, -5 invisibility or something right?

Assassins Garb:
Material: Leather_Chestplate
Color: Black
Enchantments:
PROTECTION_ENVIORNMENTAL: 2
PROTECTION_EXPLOSIONS: 1
PROTECTION_FIRE: 2
PROTECTION_PROJECTILE: 3
THORNS: 2
DURABILITY: 5

Also how can I make some of my custom items more rare than other custom items?

EDIT: I got it to work, added inviso and speed to some armor but it only seems to activate when I kill something and it lasts 45 seconds and continues if you take the armor off, how can I change the activation problem and lower how long the effect lasts?

EDIT: actually it activates when I am damaged

EDIT: Figured out how to edit the times for each effect, can i make it though so that the effect is like always being reactivated when I'm wearing/holding it so I don't have to take damage or deal damage to activate it?
Thanks,
Jake

commented

We don't have any code inside the plugin to enable constant effects. The intention is to make it so that effects are given when attacking or being attacked.

commented

oh OK, what about making somew custom items more rare than other custom items? is that possible?

commented

It is not possible at the moment.