|
|
|
Item generation templates are the base items used to generate random items. They have a list of **modifiers** which apply under certains conditions, making the generated item stronger, and a list of default item stats which defines how the basic item looks.
|
|
|
|
|
|
|
|
The item statistics all scale on the item level. For instance,
|
|
|
|
```
|
|
|
|
LONG_SWORD:
|
|
|
|
|
|
|
|
# Basic template information
|
|
|
|
type: SWORD
|
|
|
|
|
|
|
|
# Base item data
|
|
|
|
base:
|
|
|
|
material: IRON_SWORD
|
|
|
|
name: '&fLong Sword'
|
|
|
|
attack-speed: 1.6
|
|
|
|
attack-damage:
|
|
|
|
base: 6
|
|
|
|
scale: 1.2
|
|
|
|
required-level:
|
|
|
|
base: 0
|
|
|
|
scale: 1
|
|
|
|
```
|
|
|
|
This config sets the item base attack damage to `6 + 1.2 * <level>` where <level> is the selected item level. The base item is also an iron sword which name is `Long Sword`, and so on. The stat format for the `base` config section is the same as in the /MMOItems/item config files with a few exceptions |
|
|
|
\ No newline at end of file |