Difference between revisions of "Template:Cfd"

From Tales of Maj'Eyal
Jump to: navigation, search
(Created template for the combatTalentDamage function that is exclusive to Cursed Forms)
 
(Copy edit)
Line 1: Line 1:
<includeonly><onlyinclude>{{{1}}}–{{{2}}}<sup>[[Scaling#CFD]]</sup></onlyinclude></includeonly>
+
<includeonly><onlyinclude>{{{1}}}–{{{2}}}<sup>[[Scaling#CFD|CFD]]</sup></onlyinclude></includeonly>
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 04:58, 21 August 2014


Introduction

This template is used to denote talent parameters that scale by the Cursed Form Damage function.

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

Both parameters are required.

Basic Example

If the LUA code calls for

combatTalentDamage(self, t, 15, 50)

then one should invoke the template in wiki markup with

{{CFD|15|50}}

which will produce the following text

Template:CFD

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