User:Rifter/Spell Project

Example entry for bramble
{n: "Bramble", d: "Bramble inflicts physical damage to an enemy.",

l1: [97, 4, 6, undefined, 0, 0, 97, 8, undefined, undefined, 0, 0, 5, 0, 6, 50, 45, false, true, false, true, 0, 0, 0, 0, "PaPa", [], [3, 1], 1],

l2: [97, 6, 8, undefined, 0, 0, 97, 10, undefined, undefined, 0, 0, 5, 0, 6, 50, 45, false, true, false, true, 0, 0, 0, 0, "PaPa", [], [3, 1], 1],

l3: [97, 6, 10, undefined, 0, 0, 97, 12, undefined, undefined, 0, 0, 5, 0, 7, 50, 45, false, true, false, true, 0, 0, 0, 0, "PaPa", [], [3, 1], 1],

l4: [97, 9, 13, undefined, 0, 0, 97, 16, undefined, undefined, 0, 0, 5, 0, 7, 50, 50, false, true, false, true, 0, 0, 0, 0, "PaPa", [], [3, 1], 1],

l5: [97, 10, 17, undefined, 0, 0, 97, 20, undefined, undefined, 0, 0, 4, 0, 8, 45, 50, false, true, false, true, 0, 0, 0, 0, "PaPa", [], [3, 1], 1],

l6: [97, 13, 20, undefined, 0, 0, 97, 22, undefined, undefined, 0, 0, 3, 0, 8, 45, 100, false, true, false, true, 0, 0, 0, 0, "PaPa", [], [3, 1], 101]};

Explaination
l6: (regular hit)[97 (earth damage, there is separate table for effect types), 13(min value), 20(max value), undefined, 0(duration in turns), 0, (critical hit)97, 22, undefined, undefined, 0, 0, 3(ap cost), 0(min range), 8(max range), 45(crit chance), 100(critfail chance), false, true, false, true, 0(not sure / cant remember), 0(casts per turn), 0(casts per target), 0(cooldown), "PaPa"(effect tupe and area info, can be ignored in template), [], [3, 1](constant for all spells, probably unused), 101(gained at level)]};

Wiki ate double opening and closing brackets :/