... | @@ -38,7 +38,7 @@ LONG_SWORD: |
... | @@ -38,7 +38,7 @@ LONG_SWORD: |
|
|
|
|
|
As seen on the [[General|Item-Generator]] page, one item can be generated with multiple modifiers. A modifier is defined by four options: its **selection chance**, its **modifier weight**, its **stat list** and its **prefix/suffix**.
|
|
As seen on the [[General|Item-Generator]] page, one item can be generated with multiple modifiers. A modifier is defined by four options: its **selection chance**, its **modifier weight**, its **stat list** and its **prefix/suffix**.
|
|
|
|
|
|
### Prefixes/suffixes
|
|
## Prefixes/suffixes
|
|
When a modifier is selected during item generation, its suffix/prefix is automatically applied to the item. If multiple prefixes/suffixes are added, MMOItems only keeps the prefixes/suffixes with the higher priority, e.g an item which has `Sharp` with prefix priority 0 (because 0 by default) and `Fiery` with prefix priority 1 will only display `Fiery`. If you don't want to use the prefix/suffix priority system, just define the prefix/suffix using this format:
|
|
When a modifier is selected during item generation, its suffix/prefix is automatically applied to the item. If multiple prefixes/suffixes are added, MMOItems only keeps the prefixes/suffixes with the higher priority, e.g an item which has `Sharp` with prefix priority 0 (because 0 by default) and `Fiery` with prefix priority 1 will only display `Fiery`. If you don't want to use the prefix/suffix priority system, just define the prefix/suffix using this format:
|
|
```
|
|
```
|
|
modifier:
|
|
modifier:
|
... | @@ -52,21 +52,21 @@ modifier: |
... | @@ -52,21 +52,21 @@ modifier: |
|
priority: <integer-needed>
|
|
priority: <integer-needed>
|
|
```
|
|
```
|
|
|
|
|
|
### Weight
|
|
## Weight
|
|
The modifier weight is the amount of capacity deduced to the generated item when the modifier is applied to this item. If your item has 5 modifier capacity, it won't be able to receive a modifier with weight 6. Since modifier capacity is directly determined by the item's tier, some tiers just cannot have specific modifiers.
|
|
The modifier weight is the amount of capacity deduced to the generated item when the modifier is applied to this item. If your item has 5 modifier capacity, it won't be able to receive a modifier with weight 6. Since modifier capacity is directly determined by the item's tier, some tiers just cannot have specific modifiers.
|
|
```
|
|
```
|
|
modifier:
|
|
modifier:
|
|
weight: 5
|
|
weight: 5
|
|
```
|
|
```
|
|
|
|
|
|
### Selection Chance
|
|
## Selection Chance
|
|
This is a smaller option to balance your modifiers. You can setup modifiers so that, even if the generated item has enough modifier capacity to receive the modifier, there is still a X% chance that the modifier will not apply. Use the following format:
|
|
This is a smaller option to balance your modifiers. You can setup modifiers so that, even if the generated item has enough modifier capacity to receive the modifier, there is still a X% chance that the modifier will not apply. Use the following format:
|
|
```
|
|
```
|
|
modifier:
|
|
modifier:
|
|
chance: .1 # Corresponds to a 10% selection chance
|
|
chance: .1 # Corresponds to a 10% selection chance
|
|
```
|
|
```
|
|
|
|
|
|
### Modifier Stats
|
|
## Modifier Stats
|
|
These are the stats which will be applied to the item, if the modifier is selected, i.e if the generated item has enough modifier capacity and if the modifier selection chance test was successful. The format used here to define what stats are added is the exact same as the format used to define the base item data of an [item generation template|Item-Generator-Template].
|
|
These are the stats which will be applied to the item, if the modifier is selected, i.e if the generated item has enough modifier capacity and if the modifier selection chance test was successful. The format used here to define what stats are added is the exact same as the format used to define the base item data of an [item generation template|Item-Generator-Template].
|
|
```
|
|
```
|
|
toxic:
|
|
toxic:
|
... | | ... | |