... | ... | @@ -37,9 +37,43 @@ ability: |
|
|
type: life-ender
|
|
|
mode: right-click
|
|
|
damage:
|
|
|
base:
|
|
|
base: 10
|
|
|
scale: 3
|
|
|
```
|
|
|
You may notice that the format is the exact same as if you wanted to add an ability to a normal (not randomly generated) mmoitem. The only thing that changes is how you define the ability modifiers, because they are the only values which can really scale on the item level. The formulas used to define an ability modifier are the same as the formulas used with [[numeric stats|Item-Generator-Templates]].
|
|
|
|
|
|
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.
|
|
|
|
|
|
# |
|
|
\ No newline at end of file |
|
|
### 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.
|
|
|
```
|
|
|
potion-effect:
|
|
|
speed:
|
|
|
level:
|
|
|
base: 1
|
|
|
scale: 1
|
|
|
duration:
|
|
|
base: 10
|
|
|
scale: 3
|
|
|
```
|
|
|
Notice how you start to see a repeating pattern with the `base/scale/spread/maxspread` based config sections which seem to be literally everywhere when dealing with randomly generated items. Like any other numeric values, the potion duration and level can scale on the item level.
|
|
|
|
|
|
Since these are numeric stats, you can also use this format if you want for instance the level to be the same everytime:
|
|
|
```
|
|
|
potion-effect:
|
|
|
speed:
|
|
|
level: 1
|
|
|
duration: ...
|
|
|
```
|
|
|
This is the exact same as the following
|
|
|
```
|
|
|
potion-effect:
|
|
|
speed:
|
|
|
level:
|
|
|
base: 1
|
|
|
scale: 0
|
|
|
spread: 0
|
|
|
max-spread: 0
|
|
|
duration: ...
|
|
|
```
|
|
|
|