(Limpou toda a página) |
mSem resumo de edição |
||
Linha 1: | Linha 1: | ||
+ | <includeonly>{| class="infobox" style="text-align:center; font-size:88%; line-height:1.5em; white-space:nowrap;" |
||
+ | ! style="color:white; background-color:{{Color|{{lc:{{{primary attribute|wiki4}}}}}}}; font-size:112%;" | {{{title|}}} |
||
+ | |- |
||
+ | | [[{{{image|}}}|270px]] |
||
+ | |- |
||
+ | | <div style="width: 100%; padding: 4px 0; display: grid; grid-template-columns: auto auto auto; background: linear-gradient(0deg, {{Color|{{lc:{{{primary attribute|neutral}}}}}}} -50%, #292821 80%); color: white; text-align: center;"> |
||
+ | <div {{#ifeq:{{lc:{{{primary attribute|}}}}}|strength|id="primaryAttribute"}}>[[File:Strength attribute symbol.png|40px|link=Força]]</div> |
||
+ | <div {{#ifeq:{{lc:{{{primary attribute|}}}}}|agility|id="primaryAttribute"}}>[[File:Agility attribute symbol.png|40px|link=Agilidade]]</div> |
||
+ | <div {{#ifeq:{{lc:{{{primary attribute|}}}}}|intelligence|id="primaryAttribute"}}>[[File:Intelligence attribute symbol.png|40px|link=Inteligência]]</div> |
||
+ | <div>'''{{{strength|0}}}''' + {{{strength growth|0}}}</div> |
||
+ | <div>'''{{{agility|0}}}''' + {{{agility growth|0}}}</div> |
||
+ | <div>'''{{{intelligence|0}}}''' + {{{intelligence growth|0}}}</div> |
||
+ | </div> |
||
+ | |- |
||
+ | | |
||
+ | {| class="evenrowsgray" style="width:100%; border-collapse:collapse; text-align:left;" |
||
+ | ! style="width:40%;" | Nível |
||
+ | ! style="width:20%;" | {{Tooltip|Base|Valores base, sem qualquer atributos}} |
||
+ | ! style="width:20%;" | 1 |
||
+ | ! style="width:20%;" | {{Tooltip|15|Bônus de talento não incluído}} |
||
+ | ! style="width:20%;" | {{Tooltip|25|Bônus de talento não incluído}}<!-- |
||
+ | |||
+ | -->{{#vardefine:primary|{{lc:{{{primary attribute}}}}}}}<!-- |
||
+ | |||
+ | --> |
||
+ | |- |
||
+ | ! [[Vida]] |
||
+ | | {{{health|{{Attribute bonuses|health}}}}} |
||
+ | | {{Commafix|{{{health|{{Attribute bonuses|health}}}}}+{{{strength|0}}}*{{{custom bonus health|{{Attribute bonuses|bonus health}}}}}}} |
||
+ | | {{Commafix|{{{health|{{Attribute bonuses|health}}}}}+trunc({{{strength|0}}}+{{{strength growth|0}}}*14)*{{{custom bonus health|{{Attribute bonuses|bonus health}}}}}}} |
||
+ | | {{Commafix|{{{health|{{Attribute bonuses|health}}}}}+trunc({{{strength|0}}}+{{{strength growth|0}}}*24)*{{{custom bonus health|{{Attribute bonuses|bonus health}}}}}}} |
||
+ | |- |
||
+ | ! [[Regeneração de vida|Regen. de vida]] |
||
+ | | {{{health regen|0}}} |
||
+ | | {{Commafix|{{{health regen|0}}}+{{Attribute bonuses|bonus health regeneration flat}}*{{{strength|0}}} round 2}} |
||
+ | | {{Commafix|{{{health regen|0}}}+{{Attribute bonuses|bonus health regeneration flat}}*({{{strength|0}}}+{{{strength growth|0}}}*14) round 2}} |
||
+ | | {{Commafix|{{{health regen|0}}}+{{Attribute bonuses|bonus health regeneration flat}}*({{{strength|0}}}+{{{strength growth|0}}}*24) round 2}} |
||
+ | |- |
||
+ | ! [[Resistência mágica|Resis. mágica]] |
||
+ | | {{{magic resistance|25%}}} |
||
+ | | {{Commafix|(1-(1-{{#explode:{{{magic resistance|25%}}}|%}}/100)*(1-({{{strength|0}}}*{{Attribute bonuses|bonus magic resistance}})/100))*100 round 2}}% |
||
+ | | {{Commafix|(1-(1-{{#explode:{{{magic resistance|25%}}}|%}}/100)*(1-(({{{strength|0}}}+{{{strength growth|0}}}*14)*{{Attribute bonuses|bonus magic resistance}})/100))*100 round 2}}% |
||
+ | | {{Commafix|(1-(1-{{#explode:{{{magic resistance|25%}}}|%}}/100)*(1-(({{{strength|0}}}+{{{strength growth|0}}}*24)*{{Attribute bonuses|bonus magic resistance}})/100))*100 round 2}}% |
||
+ | |- |
||
+ | ! [[Mana]] |
||
+ | | {{{mana|{{Attribute bonuses|mana}}}}} |
||
+ | | {{Commafix|{{{mana|{{Attribute bonuses|mana}}}}}+{{{intelligence|0}}}*{{{custom bonus mana|{{Attribute bonuses|bonus mana}}}}}}} |
||
+ | | {{Commafix|{{{mana|{{Attribute bonuses|mana}}}}}+trunc({{{intelligence|0}}}+{{{intelligence growth|0}}}*14)*{{{custom bonus mana|{{Attribute bonuses|bonus mana}}}}}}} |
||
+ | | {{Commafix|{{{mana|{{Attribute bonuses|mana}}}}}+trunc({{{intelligence|0}}}+{{{intelligence growth|0}}}*24)*{{{custom bonus mana|{{Attribute bonuses|bonus mana}}}}}}} |
||
+ | |- |
||
+ | ! [[Regeneração de mana|Regen. de mana]] |
||
+ | | {{{mana regen|0}}} |
||
+ | | {{Commafix|{{{mana regen|0}}}+{{Attribute bonuses|bonus mana regeneration flat}}*{{{intelligence|0}}} round 2}} |
||
+ | | {{Commafix|{{{mana regen|0}}}+{{Attribute bonuses|bonus mana regeneration flat}}*({{{intelligence|0}}}+{{{intelligence growth|0}}}*14) round 2}} |
||
+ | | {{Commafix|{{{mana regen|0}}}+{{Attribute bonuses|bonus mana regeneration flat}}*({{{intelligence|0}}}+{{{intelligence growth|0}}}*24) round 2}} |
||
+ | |- |
||
+ | ! [[Amplificação mágica|Amp. mágica]] |
||
+ | | 0% |
||
+ | | {{Commafix|{{{intelligence|0}}}*{{{custom bonus spell damage|{{Attribute bonuses|bonus spell damage}}}}} round 2}}% |
||
+ | | {{Commafix|({{{intelligence|0}}}+{{{intelligence growth|0}}}*14)*{{{custom bonus spell damage|{{Attribute bonuses|bonus spell damage}}}}} round 2}}% |
||
+ | | {{Commafix|({{{intelligence|0}}}+{{{intelligence growth|0}}}*24)*{{{custom bonus spell damage|{{Attribute bonuses|bonus spell damage}}}}} round 2}}% |
||
+ | |- |
||
+ | ! [[Armadura]] |
||
+ | | {{{armor|0}}} |
||
+ | | {{Commafix|{{{armor|0}}}+{{{agility|0}}}*{{{custom bonus armor|{{Attribute bonuses|bonus armor}}}}} round 2}} |
||
+ | | {{Commafix|{{{armor|0}}}+({{{agility|0}}}+{{{agility growth|0}}}*14)*{{{custom bonus armor|{{Attribute bonuses|bonus armor}}}}} round 2}} |
||
+ | | {{Commafix|{{{armor|0}}}+({{{agility|0}}}+{{{agility growth|0}}}*24)*{{{custom bonus armor|{{Attribute bonuses|bonus armor}}}}} round 2}} |
||
+ | |- |
||
+ | ! [[Velocidade de ataque|{{Tooltip|Atq / Seg|Ataques por segundo}}]] |
||
+ | | {{Commafix|{{{attack speed|100}}}/{{{base attack time|1.7}}}/100 round 2}} |
||
+ | | {{Commafix|({{{attack speed|100}}}+{{{agility|0}}}*{{{custom bonus attack speed|{{Attribute bonuses|bonus attack speed}}}}})/{{{base attack time|1.7}}}/100 round 2}} |
||
+ | | {{Commafix|({{{attack speed|100}}}+({{{agility|0}}}+{{{agility growth|0}}}*14)*{{{custom bonus attack speed|{{Attribute bonuses|bonus attack speed}}}}})/{{{base attack time|1.7}}}/100 round 2}} |
||
+ | | {{Commafix|({{{attack speed|100}}}+({{{agility|0}}}+{{{agility growth|0}}}*24)*{{{custom bonus attack speed|{{Attribute bonuses|bonus attack speed}}}}})/{{{base attack time|1.7}}}/100 round 2}} |
||
+ | |- |
||
+ | ! {{tooltip|[[Velocidade de movimento|Amp. de mov.]]|Amplificação de velocidade de movimento}} |
||
+ | | 0% |
||
+ | | {{Commafix|{{{agility|0}}}*{{Attribute bonuses|bonus movement speed}} round 2}}% |
||
+ | | {{Commafix|({{{agility|0}}}+{{{agility growth|0}}}*14)*{{Attribute bonuses|bonus movement speed}} round 2}}% |
||
+ | | {{Commafix|({{{agility|0}}}+{{{agility growth|0}}}*24)*{{Attribute bonuses|bonus movement speed}} round 2}}% |
||
+ | |- |
||
+ | ! [[Dano de ataque|Dano]] |
||
+ | | {{{attack damage min|0}}}‒{{{attack damage max|0}}} |
||
+ | | {{Commafix|{{{attack damage min|0}}}+{{{{{lc:{{{primary attribute}}}}}|0}}}*{{{custom bonus attack damage|1}}}}}‒{{Commafix|{{{attack damage max|0}}}+{{{{{lc:{{{primary attribute}}}}}|0}}}*{{{custom bonus attack damage|1}}}}} |
||
+ | | {{Commafix|{{{attack damage min|0}}}+trunc({{{{{lc:{{{primary attribute}}}}}|0}}}+{{{{{lc:{{{primary attribute}}}}} growth|0}}}*14)*{{{custom bonus attack damage|1}}}}}‒{{Commafix|{{{attack damage max|0}}}+trunc({{{{{lc:{{{primary attribute}}}}}|0}}}+{{{{{lc:{{{primary attribute}}}}} growth|0}}}*14)*{{{custom bonus attack damage|1}}}}} |
||
+ | | {{Commafix|{{{attack damage min|0}}}+trunc({{{{{lc:{{{primary attribute}}}}}|0}}}+{{{{{lc:{{{primary attribute}}}}} growth|0}}}*24)*{{{custom bonus attack damage|1}}}}}‒{{Commafix|{{{attack damage max|0}}}+trunc({{{{{lc:{{{primary attribute}}}}}|0}}}+{{{{{lc:{{{primary attribute}}}}} growth|0}}}*24)*{{{custom bonus attack damage|1}}}}} |
||
+ | |} |
||
+ | |- |
||
+ | | |
||
+ | {| class="oddrowsgray" style="width:100%; border-collapse:collapse; text-align:left;" |
||
+ | ! style="padding-left:2em;" | [[Velocidade de movimento]] |
||
+ | | {{{movement speed|0}}} |
||
+ | |- |
||
+ | ! style="padding-left:2em;" | [[Velocidade de ataque]] |
||
+ | | {{{attack speed|100}}} |
||
+ | |- |
||
+ | ! style="padding-left:2em;" | [[Taxa de rotação]] |
||
+ | | {{{turn rate|0}}} |
||
+ | |- |
||
+ | ! style="padding-left:2em;" | [[Visão|Alcance de visão]] |
||
+ | | {{Tooltip|{{{sight range day|0}}}|Durante o dia}}/{{Tooltip|{{{sight range night|0}}}|Durante a noite}} |
||
+ | |- |
||
+ | ! style="padding-left:2em;" | [[Alcance de ataque]] |
||
+ | | {{Tooltip|{{{attack range|0}}}|{{ucfirst:{{{range type}}}}}}} |
||
+ | |- |
||
+ | ! style="padding-left:2em;" | [[Velocidade de projétil]] |
||
+ | | {{#if:{{{projectile speed|}}}|{{{projectile speed}}}|Instantânea}} |
||
+ | |- |
||
+ | ! style="padding-left:2em;" | [[Animação de ataque]] |
||
+ | | {{Tooltip|{{{attack point|0}}}|Pré-ataque}}+{{Tooltip|{{{attack backswing|0}}}|Pós-ataque}} |
||
+ | |- |
||
+ | ! style="padding-left:2em;" | [[Tempo base de ataque]] |
||
+ | | {{{base attack time|0}}} |
||
+ | |- |
||
+ | ! style="padding-left:2em;" | [[Tamanho de colisão]] |
||
+ | | {{{collision size|0}}} |
||
+ | {{#if:{{{legs|}}}| |
||
+ | {{!}}- |
||
+ | ! style="padding-left:2em;" {{!}} Pernas |
||
+ | {{!}} {{{legs}}} |
||
+ | }}{{#if:{{{gib type|}}}| |
||
+ | {{!}}- |
||
+ | ! style="padding-left:2em;" {{!}} Tipo de gib |
||
+ | {{!}} {{#switch: {{lc:{{{gib type}}}}} |
||
+ | | default = Padrão |
||
+ | | ethereal = Etérea |
||
+ | | goo = Gosma |
||
+ | | motor = Motor |
||
+ | | ice = Gelo |
||
+ | | fire = Fogo |
||
+ | | electric = Elétrico |
||
+ | | wood = Madeira |
||
+ | | stone = Pedra |
||
+ | }} |
||
+ | }} |
||
+ | |} |
||
+ | |}<!-- |
||
+ | |||
+ | Semantic Media Wiki |
||
+ | |||
+ | Differences to the unit infobox: |
||
+ | - type, ancient, duration, health, mana, mana regen, attack type, acquisition range, movement type, follow range, vision type, bounty min/max, experience, model scale, notes |
||
+ | + primary attribute, strength/agility/intelligence (growth) |
||
+ | |||
+ | -->{{#switch:{{{structure|main}}} |
||
+ | | main = |
||
+ | {{#cargo_store: |
||
+ | _table = heroes |
||
+ | | title = {{{title|}}} |
||
+ | | image = {{{image|}}} |
||
+ | | icon = {{{icon|}}} |
||
+ | | primary_attribute = {{{primary attribute|}}} |
||
+ | | strength = {{{strength|}}} |
||
+ | | strength_growth = {{{strength growth|}}} |
||
+ | | agility = {{{agility|}}} |
||
+ | | agility_growth = {{{agility growth|}}} |
||
+ | | intelligence = {{{intelligence|}}} |
||
+ | | intelligence_growth = {{{intelligence growth|}}} |
||
+ | | health_regen = {{{health regen|}}} |
||
+ | | mana_regen = {{{mana regen|}}} |
||
+ | | armor = {{{armor|}}} |
||
+ | | magic_resistance = {{Commafix|{{#replace:{{{magic resistance|}}}|%|/100}}}} |
||
+ | | attack_damage_min = {{{attack damage min|}}} |
||
+ | | attack_damage_max = {{{attack damage max|}}} |
||
+ | | attack_range = {{{attack range|}}} |
||
+ | | attack_speed = {{{attack speed|100}}} |
||
+ | | base_attack_time = {{{base attack time|}}} |
||
+ | | attack_point = {{{attack point|}}} |
||
+ | | attack_backswing = {{{attack backswing|}}} |
||
+ | | range_type = {{{range type|}}} |
||
+ | | projectile_speed = {{{projectile speed|}}} |
||
+ | | movement_speed = {{{movement speed|}}} |
||
+ | | turn_rate = {{{turn rate|}}} |
||
+ | | collision_size = {{{collision size|}}} |
||
+ | | sight_range_day = {{{sight range day|}}} |
||
+ | | sight_range_night = {{{sight range night|}}} |
||
+ | | legs = {{{legs|}}} |
||
+ | | gib_type = {{{gib type|}}} |
||
+ | | game = {{{game|}}} |
||
+ | | page_id = {{PAGEID}} |
||
+ | }} |
||
+ | {{DISPLAYTITLE:{{{title|}}}|noreplace}} |
||
+ | | hidden = |
||
+ | }} |
||
+ | {{#switch:{{{structure|main}}} |
||
+ | | main = |
||
+ | {{#if:{{{game|}}}|| |
||
+ | [[Categoria:Heróis]] |
||
+ | {{#switch:{{lc:{{{primary attribute}}}}} |
||
+ | |strength = [[Categoria:Heróis de Força]] |
||
+ | |intelligence = [[Categoria:Heróis de Inteligência]] |
||
+ | |agility = [[Categoria:Heróis de Agilidade]] |
||
+ | }} |
||
+ | {{#switch:{{lc:{{{range type}}}}}| |
||
+ | |melee = [[Categoria:Heróis corpo a corpo]] |
||
+ | |ranged = [[Categoria:Heróis de longo alcance]] |
||
+ | }} |
||
+ | }} |
||
+ | }}<!-- |
||
+ | |||
+ | End of Semantic MediaWiki code. |
||
+ | |||
+ | --></includeonly><noinclude> |
||
+ | {{#cargo_declare: |
||
+ | _table = heroes |
||
+ | | title = String |
||
+ | | image = File |
||
+ | | icon = File |
||
+ | | primary_attribute = String (allowed values=Agility, Intelligence, Strength) |
||
+ | | strength = Float |
||
+ | | strength_growth = Float |
||
+ | | agility = Float |
||
+ | | agility_growth = Float |
||
+ | | intelligence = Float |
||
+ | | intelligence_growth = Float |
||
+ | | health_regen = Float |
||
+ | | mana_regen = Float |
||
+ | | armor = Float |
||
+ | | magic_resistance = Float |
||
+ | | attack_damage_min = Integer |
||
+ | | attack_damage_max = Integer |
||
+ | | attack_range = Float |
||
+ | | attack_speed = Integer |
||
+ | | base_attack_time = Float |
||
+ | | attack_point = Float |
||
+ | | attack_backswing = Float |
||
+ | | range_type = String (allowed values=Melee, Ranged) |
||
+ | | projectile_speed = Float |
||
+ | | movement_speed = Integer |
||
+ | | turn_rate = Float |
||
+ | | collision_size = Integer |
||
+ | | sight_range_day = Integer |
||
+ | | sight_range_night = Integer |
||
+ | | legs = Integer |
||
+ | | gib_type = String |
||
+ | | game = String |
||
+ | | page_id = Integer (hidden; size=191; unique) |
||
+ | }} |
||
+ | {{clr}} |
||
+ | |||
+ | {{Template doc}} |
||
+ | [[Categoria:Predefinições de infobox]] |
||
+ | [[en:Template:Hero infobox]] |
||
+ | [[ru:Шаблон:Hero infobox]] |
||
+ | </noinclude> |
Revisão das 17h44min de 26 de maio de 2019
Esta predefinição define a tabela "heroes". Ver tabela.
Esta predefinição não tem uma documentação.