Template:Ctpd

From Tales of Maj'Eyal
Revision as of 07:54, 26 August 2014 by Vyn (Talk | contribs) (Adding some brackets to accentuate base)

(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 combatTalentPhysicalDamage function.

The template accepts two parameters, corresponding to those in the LUA code: base and max. It is assumed that these parameters will be fed to the template in the order specified above.

Both parameters to this template are required.

Basic Example

The LUA code for the intimidation effect of Daunting Presence calls for

self:combatTalentPhysicalDamage(t, 5, 36)

which should be entered into the wiki as

{{CTPD|5|36}}

and will produce the following text

[5]36cTPD

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