Template:Infobox hero: Difference between revisionsGive feedback
Sprint Speed is now always visible. Bullet/Spirit Resist now hide automatically if their value is 0 |
Tag: Undo |
||
| Line 70: | Line 70: | ||
{{!}} 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" {{!}} [[Damage Resistance{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_CritDamageReceivedScale}}</span>]] | {{!}} 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" {{!}} [[Damage Resistance{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_CritDamageReceivedScale}}</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:Crit reduction.png|20px|link=Damage Resistance]]|{{{crit_reduction|}}}%}}}} | {{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}}{{Icon/Grey|[[File:Crit reduction.png|20px|link=Damage Resistance]]|{{{crit_reduction|}}}%}}}} | ||
{{# | {{#ifeq: {{{no_bullet_resist|}}}|true| | ||
{{!}}- | |||
| | |||
{{!}}-style="vertical-align:middle;" | {{!}}-style="vertical-align:middle;" | ||
{{!}} 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 | {{!}} 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" {{!}} [[Damage Resistance{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_BulletArmorDamageReduction}}</span>]]: | ||
{{!}} style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left | {{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}} {{Icon/Grey|[[File:Bullet Armor.png|20px|link=Bullet Resist]]|{{{bullet_resist|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletResist|3}}}}}%}}}} | ||
}} | {{#ifeq: {{{no_spirit_resist|}}}|true| | ||
{{# | {{!}}- | ||
| | |||
{{!}}-style="vertical-align:middle;" | {{!}}-style="vertical-align:middle;" | ||
{{!}} 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 | {{!}} 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" {{!}} [[Damage Resistance{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_TechArmorDamageReduction}}</span>]]: | ||
{{!}} style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left | {{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}} {{Icon/Grey|[[File:Spirit Armor.png|20px|link=Spirit Resist]]|{{{spirit_resist|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|TechResist|3}}}}}%}}}} | ||
}} | |||
|-style="vertical-align:middle;" | |-style="vertical-align:middle;" | ||
| 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" |[[Move Speed{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_RunSpeed}}</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" |[[Move Speed{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_RunSpeed}}</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:Move speed.png|20px|link=Move Speed]]|{{{move_speed|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxMoveSpeed|2}}}}}m/s}} | |style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;"| {{Icon/Grey|[[File:Move speed.png|20px|link=Move Speed]]|{{{move_speed|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxMoveSpeed|2}}}}}m/s}} | ||
|-style="vertical-align:middle;" | {{#ifeq: {{{no_sprint|}}}|true| | ||
{{!}} | |||
| | |||
{{!}}-style="vertical-align:middle;" | |||
{{!}}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" {{!}} {{#invoke:Lang|get_string|StatDesc_SprintSpeed}}: | |||
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}} {{Icon/Grey|[[File:Move speed.png|20px|link=Move Speed]]|{{{sprint_speed|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|SprintSpeed|2}}}}}m/s}}}} | |||
|-style="vertical-align:middle;" | |-style="vertical-align:middle;" | ||
| 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" |[[Stamina#Dash_Speed{{If_lang}}|<span style="color:#afafaf">{{#invoke:Dictionary|translate|Dash Speed}}</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" |[[Stamina#Dash_Speed{{If_lang}}|<span style="color:#afafaf">{{#invoke:Dictionary|translate|Dash Speed}}</span>]]: | ||
|style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;"|<!-- | |style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;"|<!-- | ||
-->{{Icon/Grey|[[File:Springy_boots_icon.png|20px|link=Stamina#Dash_Speed]]|{{# | -->{{#vardefine:dash_duration|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|GroundDashDuration}}}}<!-- | ||
-->{{Icon/Grey|[[File:Springy_boots_icon.png|20px|link=Stamina#Dash_Speed]]|<!-- | |||
-->{{#switch:{{#var:dash_duration}} | |||
|0.62 = +10% | |||
|0.68 = Standard | |||
|0.74 = -10% | |||
|#default = | |||
}}}}<!-- | |||
--> | --> | ||
|-style="vertical-align:middle;" | |-style="vertical-align:middle;" | ||