From Tales of Maj'Eyal
Revision as of 18:01, 6 August 2014 by Vyn (Talk | contribs) (Vyn moved page Template:CSS to Template:Css: Same reasoning)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


This template is used to denote talent parameters that scale by the combatStatScale function.

The template accepts up to six parameters, corresponding to those in the LUA code: stat, low, high, power, add, shift. It is assumed that the first four parameters will be fed to the template in the order specified above.

The first three parameters are required, while the others are optional.

Basic Example

The LUA code for the number of deflections that Dual Weapon Defense can perform calls for

self:combatStatScale("cun", 0, 2.25)

so one should use the wiki markup


which will produce the following text


Note that any percentage signs must be inserted manually with the parameters.