FANDOM


Sets up key variables used in Templates (calculations) :

{{Hero Set Type| 1.Hero Type }}

Parameters:

1: Hero Type: The Hero's level number as in LEVEL. If not supplied, the last level used will be used.

Hero
Type

Code
Common C
Elite E
Legendary L or 0
Evo1 E1 or 1
Evo2 E2 or 2
  • If the type is not recognized then no changes are made and a short message
  • This typically just needs to be called once per page, or, only when you need switch type

Examples:

{{Hero Set Type | C }}    Expression error: Unrecognised word "c".
{{Hero Set Type | E }}   
{{Hero Set Type | L }}   
{{Hero Set Type | E1 }}   
{{Hero Set Type | E2 }}   
{{Hero Set Type | Evo }}    Hero type " Evo " unknown, must be either: C, E, L, 1 or 2 (letters must be upper-case)Expression error: Unexpected >= operator.

Variables set

Variable Group Description
MightLevel Might The per level might value
MightSkill Might The per Skill level might value
MightTalent Might The per Talent level might value
MightMOVSPD Might The might MOV SPD offset
MightLevelDiv Might The MOV SPD Level offset divider
StatsLevelOffset Hero Stats The level offset for calculating stats (HP, DMG etc). -1 for all non-evo types, 0 for evo.
StatsEvoID Hero Stats The evo extension identifier. Blank for non-evo, e1 for evo1, e2 for evo2


Hero type "" unknown, must be either: C, E, L, 1 or 2 (letters must be upper-case)Expression error: Unexpected >= operator.==Important Templates==

Buildings

Here Be Monsters

Dungeons

Heroes

Home

Infoboxes

Icons

Navigation

Tabs

Troops

Pets

TextBlocks

TexturePacker

Variables and Hero Calculations

Experimental

Community content is available under CC-BY-SA unless otherwise noted.