Difference between revisions of "Template:Csl"

From Tales of Maj'Eyal
Jump to: navigation, search
(Adjusted parameter order)
m (Vyn moved page Template:CSL to Template:Csl: Same reasoning)
 
(No difference)

Latest revision as of 18:00, 6 August 2014


Introduction

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

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

All four parameters are required.

Basic Example

The LUA code for the duration of Evasion calls for

self:combatStatLimit("wil", 30, 6, 15)

so one should enter the following wiki markup

{{CSL|Wil|30|6|15}}

to produce

6–15cSL:30,Wil

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