User:Mendel/Templates/danball/enemy col 200

Call this with ((enemy 200|peak=lvl|max=lvl)). It will return a string that when used with ((#explode:((enemy 200|peak=lvl|max=lvl))|$|lvl}} will return the peak level and the appropriate levels for values of 1 to max.

Defaults: peak=10, max=20

As a simple check, the result of ((#explode: ((enemy 200|peak=10|max=20))|$|8)) is now.

The multipliers in the two lines at the end of the big #sub #sub need to be 1+ because that is the length of. Obviously it is very important that these segments are all the same size.