Template:Infobox hero: Difference between revisions

health icon
added crit reduction
Line 62: Line 62:
| style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" | [[Health Regen{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_HealthRegen}}</span>]]:
| style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" | [[Health Regen{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_HealthRegen}}</span>]]:
|style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;"| {{Icon/Grey|[[File:Health regen.png|20px|link=Health Regen]]|{{{health_regen|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BaseHealthRegen|2}}}}}}}
|style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;"| {{Icon/Grey|[[File:Health regen.png|20px|link=Health Regen]]|{{{health_regen|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BaseHealthRegen|2}}}}}}}
|-style="vertical-align:middle;"
{{#if: {{{crit_reduction|}}} |
{{!}}  style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" {{!}} Crit Reduction:
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}}{{{crit_reduction|}}}}}
{{#ifeq: {{{no_bullet_resist|}}}|true|
{{#ifeq: {{{no_bullet_resist|}}}|true|
{{!}}-
{{!}}-