Template:Csl

From Tales of Maj'Eyal
Revision as of 01:37, 6 August 2014 by Vyn (Talk | contribs) (Created template for combatStatLimit)

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


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.