Difference between revisions of "Template:Ctspd"

From Tales of Maj'Eyal
Jump to: navigation, search
(Copy edit)
(Basic Example: Copy edit)
Line 25: Line 25:
 
  {{CTSPD|25|290}}
 
  {{CTSPD|25|290}}
  
Note that the percentage signs must be manually inserted.
+
Note that any percentage signs must be inserted manually with the parameters.

Revision as of 22:29, 5 August 2014


Introduction

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

The template accepts up to 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. The presence of spellpower_override is a special case that will not be handled by this template, and should be indicated elsewhere in the talent's description instead.

Both parameters to this template are required.

Basic Example

If the LUA code calls for

self:combatTalentSpellDamage(t, 25, 290)

then one should invoke the template in wiki markup with

{{CTSPD|25|290}}

which will produce the following text

[25]290cTSpD

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