Template:Css

From Tales of Maj'Eyal
Jump to: navigation, search


Introduction

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

{{CSS|Cun|0|2.25}}

which will produce the following text

0–2.25cSS:Cun

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