Using the item generator, you can create items with special abilities which get stronger the higher the item level. Precisely, abilities have modifiers (how much damage it deals, how long a potion effect lasts..) which can scale on the item level. Use this format to add an ability to an item gen template/item gen modifier:
Using the item generator, you can create items with special abilities which get stronger the higher the item level. Precisely, abilities have modifiers (how much damage it deals, how long a potion effect lasts..) which can scale on the item level. Use this format to add an ability to an item gen template/item gen modifier:
```
```
ability:
ability:
...
@@ -44,7 +44,7 @@ You may notice that the format is the exact same as if you wanted to add an abil
...
@@ -44,7 +44,7 @@ You may notice that the format is the exact same as if you wanted to add an abil
In this example, the on-hit burn ability has a 6s cooldown however that values fluctuates +/-10% in average with a maximum relative offset of 10%. The burn lasts for 6 seconds but that duration is increased by 0.2 second for every item level.
In this example, the on-hit burn ability has a 6s cooldown however that values fluctuates +/-10% in average with a maximum relative offset of 10%. The burn lasts for 6 seconds but that duration is increased by 0.2 second for every item level.
### Potion effects obtained when eating a consumable
## Potion effects obtained when eating a consumable
Remember a potion effect is defined by three options: the potion effect type, a duration and a potion level.
Remember a potion effect is defined by three options: the potion effect type, a duration and a potion level.
```
```
potion-effect:
potion-effect:
...
@@ -77,3 +77,13 @@ potion-effect:
...
@@ -77,3 +77,13 @@ potion-effect:
duration: ...
duration: ...
```
```
## Permanent Potion Effects
It's literally the same as with consumable potion effects (see above), but since these potion effects are supposed to be permanently given to the player when a specific item is held, you **do not have to specify the effect duration**. The `level` config section is also gone because it's cleaner without it.