Template:Infobox hero/doc: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 11: Line 11:
|light_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|LightMeleeDamage|3}}{{PI|2.67}}
|light_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|LightMeleeDamage|3}}{{PI|2.67}}
|heavy_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|HeavyMeleeDamage|3}}{{PI|4.91}}
|heavy_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|HeavyMeleeDamage|3}}{{PI|4.91}}
|no_summary=true
 
}}
}}
Template fills in most parameters in infobox automatically with data from [[Data:HeroData.json]].
Template fills in most parameters in infobox automatically with data from [[Data:HeroData.json]].

Revision as of 04:59, 23 October 2024

Infobox hero
Tank
Brawler
Bull-Headed
Weapon Stats
Damage Per Second: 51.4
Bullet Damage: Hero Not Found+0.25+0.1
Pellets per shot: 9
Ammo: 9
Bullets per sec: 1.59
Reload Time: 0.353s
Bullet Velocity: 610m/s
Light Melee: Hero Not Found+2.67+1.74
Heavy Melee: Hero Not Found+4.91+4.03
Vitality Stats
Health: Hero Not Found+34+49
Health Regen: 1.5
Move Speed: 6.4m/s
Sprint Speed: 1.6m/s
Dash Speed: 13.9m/s
Stamina: 3
Stamina Cooldown: 4.5s
Spirit Stats
Spirit Power: 0+1.1

Template fills in most parameters in infobox automatically with data from Data:HeroData.json. You need to put hero's code name or their capitalized name in English in "key" parameter first.

For example this "key" fills infobox with data for Ivy

|key = hero_tengu

or

|key = Ivy