Template:Infobox hero/doc: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Infobox hero
{{Infobox hero
| key = hero_wraith
| weapon_name = The Rake
| art = Wraith full.png
| card = Wraith card.png
| no_bullet_resist=true
| no_spirit_resist=true
| sprint_speed = {{#invoke:HeroData|get_hero_var|hero_wraith|SprintSpeed|2}}{{ss|0.06}}<br>
|max_health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|31}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|0.37}}
|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}}
|no_summary=true
}}{{Infobox hero
| key= hero_atlas
| key= hero_atlas
| art = Abrams full.png
| art = Abrams full.png

Revision as of 08:43, 21 October 2024

Infobox hero
Duelist
Isolator
Telekinetic
Weapon Stats
Damage Per Second: 59.7
Bullet Damage: Hero Not Found+0.37+0.14
Ammo: 52
Bullets per sec: 10.6
Reload Time: 2.82s
Bullet Velocity: 572m/s
Light Melee: Hero Not Found+2.67+1.58
Heavy Melee: Hero Not Found+4.91+3.67
Vitality Stats
Health: Hero Not Found+31+35
Health Regen: 2
Move Speed: 7.2m/s
Sprint Speed: 1.6x0.06
m/sx0.05
Dash Speed: 14.7m/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