User:Dragon Installman/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{User:Dragon Installman
{{Infobox hero
| key= hero_atlas
| art = Abrams full.png
| weapon_name = Case Closed
| card = Abrams card.png
|no_spirit_resist=true
|no_bullet_resist=true
|no_sprint=true
|max_health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|34}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|0.25}}
|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.9}}
|no_summary=true
}}{{Infobox hero
| key = hero_bebop
| key = hero_bebop
| weapon_name = Humble Pie
| weapon_name = Humble Pie
| art = Bebop full.png
| art = Bebop full.png
| card = Bebop card.png
| card = Bebop card.png
| no_spirit_resist=true
|has_max_range=true
|max_range= 32{{PI|2}}


|health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|1}}
|max_health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|41}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|1}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|0.29}}
|light_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|LightMeleeDamage|3}}{{PI|1}}
|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|1}}
|heavy_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|HeavyMeleeDamage|3}}{{PI|4.91}}
|bullet_resist= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletResist|3}}{{PI|1}}
|bullet_resist= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletResist|3}}{{PI|1.25}}
|has_max_range=true
|max_range=30{{PI|2}}
}}
}}
<br>
Template fills in most parameters in infobox automatically with data from [[Data:HeroData.json]].
{{User:Dragon Installman
You need to put hero's code name or their capitalized name in English in "key" parameter first.
| key = hero_atlas
| weapon_name = Case Closed
| art = Abrams full.png
| card = Abrams card.png


|health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|1}}
For example this "key" fills infobox with data for {{HeroIcon|Ivy}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|1}}
<pre>|key = hero_tengu</pre>
|light_melee{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|LightMeleeDamage|3}}{{PI|1}}
or
|heavy_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|HeavyMeleeDamage|3}}{{PI|1}}
<pre>|key = Ivy</pre>
 
<includeonly>
}}
<templatedata>
{
"params": {
"name": {},
"name_loc": {},
"lang": {},
"card": {},
"weapon_name": {},
"dps": {},
"bullet_damage": {},
"ammo": {},
"bullets_per_sec": {},
"reload_time": {},
"bullet_velocity": {},
"light_melee": {},
"heavy_melee": {},
"range": {},
"max_range": {
"description": "For Bebop"
},
"max_health": {},
"health_regen": {},
"bullet_resist": {},
"spirit_resist": {},
"move_speed": {},
"sprint_speed": {},
"stamina": {},
"no_spirit_resist": {
"suggestedvalues": [
"true"
],
"description": "Removes spirit resist from the table"
},
"no_bullet_resist": {
"suggestedvalues": [
"true"
],
"description": "Removes bullet resist from the table"
},
"no_sprint": {
"suggestedvalues": [
"true"
],
"description": "Removes sprint speed from the table"
},
"has_max_range": {
"suggestedvalues": [
"true"
],
"description": "Adds max range parameter (for Bebop)"
},
"no_summary": {
"suggestedvalues": [
"true"
],
"description": "Disables summary"
},
"key": {
"description": "Autofills table contents",
"suggestedvalues": [
"hero_atlas",
"Abrams"
],
"required": true,
"type": "string"
}
},
"description": "Infobox for heroes.",
"format": "block",
"paramOrder": [
"key",
"name",
"name_loc",
"lang",
"card",
"weapon_name",
"dps",
"bullet_damage",
"ammo",
"bullets_per_sec",
"reload_time",
"bullet_velocity",
"light_melee",
"heavy_melee",
"range",
"max_range",
"max_health",
"health_regen",
"bullet_resist",
"spirit_resist",
"move_speed",
"sprint_speed",
"stamina",
"no_spirit_resist",
"no_bullet_resist",
"no_sprint",
"has_max_range",
"no_summary"
]
}
</templatedata>

Revision as of 08:41, 21 October 2024


Abrams
{{{BASEPAGENAME}}}
Weapon:
"Case Closed"


BASE STATS

Weapon Stats
DPS: 70
Bullet Damage: 4.68+0.25
Ammo:

9

Bullets per sec:

1.67

Reload Time:

0.353s

Bullet Velocity:

610m/s

Light Melee: 63+2.67
Heavy Melee: 116+4.9
Falloff Range: 20m → 46m
Vitality Stats
Health:

570+34

Health Regen:

1

Move Speed:

6.8m/s

Stamina:

3

Hooks an enemy for a knockout combo

Bebop can string together his abilities in many different ways. Disrupting enemy positions, saving an ally or dealing bursts of damage. When the situation doesn't require subtlety his giant laser still solves many problems.

Bebop
{{{BASEPAGENAME}}}
Weapon:
"Humble Pie"


BASE STATS

Weapon Stats
DPS: 66
Bullet Damage: 5.3+0.29
Ammo:

66

Bullets per sec:

12.5

Reload Time:

2.35s

Bullet Velocity:

508m/s

Light Melee: 63+2.67
Heavy Melee: 116+4.91
Falloff Range: 22m → 51m
Max Range: 32+2m
Vitality Stats
Health:

650+41

Health Regen:

3

Bullet Resist:

10+1.25%

Move Speed:

6.6m/s

Sprint Speed:

3m/s

Stamina:

3

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