Updated Item Generator Templates (markdown) authored by Indyuce's avatar Indyuce
...@@ -33,13 +33,13 @@ ITEM_TEMPLATE: ...@@ -33,13 +33,13 @@ ITEM_TEMPLATE:
spread: 0.1 spread: 0.1
max-spread: 0.3 max-spread: 0.3
``` ```
First of all, we have a 10% flat projectile damage, plus 3% for every item level, e.g a lvl 12 item will have **in average** 42% projectile damage.\ First of all, the `base` option defines the default stat value for a level 0 item. The `scale` option indicates that this flat value is increased by 3 for every item level, e.g a lvl 12 item will have `10 + 10 * 3 = 40%` projectile damage.
The `spread` option defines how much the stat value fluctuates around that average (42% in the example above). Setting it to 0.1 corresponds to a standard deviation of 10% relative to the stat value. Roughly speaking, the stat value will receive a +/- 10% random offset in average. The `spread` option defines how much the stat value fluctuates around that average (42% in the example above). Setting it to 0.1 corresponds to a standard deviation of 10% relative to the stat value. Roughly speaking, the stat value will receive a +/- 10% random offset in average.
The `max-spread` defines the maximum offset of the stat value around the average value. Setting it it 0.3 is reasonable, because that would mean the stat value will fluctuate between 70% and 130% of the average value. The `max-spread` defines the maximum offset of the stat value around the average value. Setting it it 0.3 is reasonable, because that would mean the stat value will fluctuate between 70% and 130% of the average value.
If you do not want to apply that random fluctuation to stat values, leave these options to 0 (or just remove them from your stat config section). Standard deviation/max deviation is set to 0% by default. If you do not want to apply that random fluctuation to stat values, leave these options to 0 (or just remove them from your stat config section). Standard deviation/max deviation is set to 0% by default.
If you want a stat value independant of the item level, this works too: If you want a stat value entirely independant of the item level, this format works too:
``` ```
ITEM_TEMPLATE: ITEM_TEMPLATE:
base: base:
... ...
......