Medoke (обсуждение | вклад) мНет описания правки |
Medoke (обсуждение | вклад) мНет описания правки |
||
Строка 72: | Строка 72: | ||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
− | {{#if:{{{bonus strength|}}}{{{bonus agility|}}}{{{bonus intelligence|}}}{{{bonus health|}}}{{{bonus health regeneration flat|}}}{{{bonus armor|}}}{{{bonus attack speed|}}}{{{bonus mana|}}}{{{bonus mana regeneration flat|}}}{{{bonus mana regeneration percent|}}}{{{bonus spell damage|}}}{{{bonus damage|}}}{{{bonus attack range|}}}{{{bonus cast range|}}}{{{bonus evasion|}}}{{{bonus magic resistance|}}}{{{bonus cooldown reduction|}}}{{{bonus mana loss reduction|}}}{{{bonus lifesteal|}}}{{{bonus spell lifesteal|}}}{{{bonus movement speed flat|}}}{{{bonus movement speed percent|}}}{{{bonus status resistance|}}}{{{bonus experience|}}}| |
+ | {{#if:{{{bonus strength|}}}{{{bonus agility|}}}{{{bonus intelligence|}}}{{{bonus health|}}}{{{bonus health regeneration flat|}}}{{{bonus health regeneration percent|}}}{{{bonus armor|}}}{{{bonus attack speed|}}}{{{bonus mana|}}}{{{bonus mana regeneration flat|}}}{{{bonus mana regeneration percent|}}}{{{bonus spell damage|}}}{{{bonus damage|}}}{{{bonus attack range|}}}{{{bonus cast range|}}}{{{bonus evasion|}}}{{{bonus magic resistance|}}}{{{bonus cooldown reduction|}}}{{{bonus mana loss reduction|}}}{{{bonus lifesteal|}}}{{{bonus spell lifesteal|}}}{{{bonus movement speed flat|}}}{{{bonus movement speed percent|}}}{{{bonus status resistance|}}}{{{bonus experience|}}}| |
! Бонус |
! Бонус |
||
{{!}} {{#if:{{{bonus strength|}}}|{{#if:{{#pos:{{{bonus strength}}}|-}}||+}}{{{bonus strength}}} к [[сила|силе]]<br>}}<!-- |
{{!}} {{#if:{{{bonus strength|}}}|{{#if:{{#pos:{{{bonus strength}}}|-}}||+}}{{{bonus strength}}} к [[сила|силе]]<br>}}<!-- |
||
Строка 79: | Строка 79: | ||
-->{{#if:{{{bonus health|}}}|{{#if:{{#pos:{{{bonus health}}}|-}}||+}}{{{bonus health}}} к [[здоровье|здоровью]]<br>}}<!-- |
-->{{#if:{{{bonus health|}}}|{{#if:{{#pos:{{{bonus health}}}|-}}||+}}{{{bonus health}}} к [[здоровье|здоровью]]<br>}}<!-- |
||
-->{{#if:{{{bonus health regeneration flat|}}}|{{#if:{{#pos:{{{bonus health regeneration flat}}}|-}}||+}}{{{bonus health regeneration flat}}} к [[регенерация здоровья|регенерации здоровья]]<br>}}<!-- |
-->{{#if:{{{bonus health regeneration flat|}}}|{{#if:{{#pos:{{{bonus health regeneration flat}}}|-}}||+}}{{{bonus health regeneration flat}}} к [[регенерация здоровья|регенерации здоровья]]<br>}}<!-- |
||
+ | -->{{#if:{{{bonus health regeneration percent|}}}|{{#if:{{#pos:{{{bonus health regeneration percent}}}|-}}||+}}{{{bonus health regeneration percent}}}% к усилению [[регенерация здоровья|регенерации здоровья]]<br>}}<!-- |
||
-->{{#if:{{{bonus armor|}}}|{{#if:{{#pos:{{{bonus armor}}}|-}}||+}}{{{bonus armor}}} к [[броня|броне]]<br>}}<!-- |
-->{{#if:{{{bonus armor|}}}|{{#if:{{#pos:{{{bonus armor}}}|-}}||+}}{{{bonus armor}}} к [[броня|броне]]<br>}}<!-- |
||
-->{{#if:{{{bonus attack speed|}}}|{{#if:{{#pos:{{{bonus attack speed}}}|-}}||+}}{{{bonus attack speed}}} к [[скорость атаки|скорости атаки]]<br>}}<!-- |
-->{{#if:{{{bonus attack speed|}}}|{{#if:{{#pos:{{{bonus attack speed}}}|-}}||+}}{{{bonus attack speed}}} к [[скорость атаки|скорости атаки]]<br>}}<!-- |
||
Строка 164: | Строка 165: | ||
|bonus_intelligence = {{{bonus intelligence|}}} |
|bonus_intelligence = {{{bonus intelligence|}}} |
||
|active_intelligence = {{{active intelligence|}}} |
|active_intelligence = {{{active intelligence|}}} |
||
− | |active_health={{#if:{{{active health|}}}{{{bonus strength|}}}{{{active strength|}}}|{{#expr:{{{active health|0}}}+({{{bonus strength|0}}}+{{{active strength|0}}})*{{Attribute bonuses|bonus health}}}}}} |
+ | |active_health = {{#if:{{{active health|}}}{{{bonus strength|}}}{{{active strength|}}}|{{#expr:{{{active health|0}}}+({{{bonus strength|0}}}+{{{active strength|0}}})*{{Attribute bonuses|bonus health}}}}}} |
− | |active_health_regeneration_flat={{#if:{{{bonus health regeneration flat|}}}{{{active health regeneration flat|}}}{{{bonus strength|}}}{{{active strength|}}}|{{#expr:({{{bonus health regeneration flat|0}}}+{{{active health regeneration flat|0}}}) |
+ | |active_health_regeneration_flat = {{#if:{{{bonus health regeneration flat|}}}{{{active health regeneration flat|}}}{{{bonus strength|}}}{{{active strength|}}}|{{#expr:({{{bonus health regeneration flat|0}}}+{{{active health regeneration flat|0}}})+({{Attribute bonuses|bonus health regeneration flat}}*({{{bonus strength|0}}}+{{{active strength|0}}}))}}}} |
− | |active_armor={{#if:{{{active armor|}}}{{{bonus agility|}}}{{{active agility|}}}|{{#expr:{{{active armor|0}}}+({{{bonus agility|0}}}+{{{active agility|0}}})*{{Attribute bonuses|bonus armor}} round2}}}} |
+ | |active_armor = {{#if:{{{active armor|}}}{{{bonus agility|}}}{{{active agility|}}}|{{#expr:{{{active armor|0}}}+({{{bonus agility|0}}}+{{{active agility|0}}})*{{Attribute bonuses|bonus armor}} round2}}}} |
− | |active_attack_speed={{#if:{{{active attack speed|}}}{{{bonus agility|}}}{{{active agility|}}}|{{#expr:{{{active attack speed|0}}}+{{{bonus agility|0}}}+{{{active agility|0}}}}}}} |
+ | |active_attack_speed = {{#if:{{{active attack speed|}}}{{{bonus agility|}}}{{{active agility|}}}|{{#expr:{{{active attack speed|0}}}+{{{bonus agility|0}}}+{{{active agility|0}}}}}}} |
− | |active_mana={{#if:{{{active mana|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{#expr:{{{active mana|0}}}+({{{bonus intelligence|0}}}+{{{active intelligence|0}}})*{{Attribute bonuses|bonus mana}}}}}} |
+ | |active_mana = {{#if:{{{active mana|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{#expr:{{{active mana|0}}}+({{{bonus intelligence|0}}}+{{{active intelligence|0}}})*{{Attribute bonuses|bonus mana}}}}}} |
− | |active_mana_regeneration_flat={{#if:{{{bonus mana regeneration flat|}}}{{{active mana regeneration flat|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{#expr:({{{bonus mana regeneration flat|0}}}+{{{active mana regeneration flat|0}}}) |
+ | |active_mana_regeneration_flat = {{#if:{{{bonus mana regeneration flat|}}}{{{active mana regeneration flat|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{#expr:({{{bonus mana regeneration flat|0}}}+{{{active mana regeneration flat|0}}})+({{Attribute bonuses|bonus mana regeneration flat}}*({{{bonus intelligence|0}}}+{{{active intelligence|0}}}))}}}} |
|active_spell_damage = {{#if:{{{active spell damage|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{#expr:{{{active spell damage|0}}}+({{{bonus intelligence|0}}}+{{{active intelligence|0}}})*{{Attribute bonuses|bonus spell damage}} round2}}}} |
|active_spell_damage = {{#if:{{{active spell damage|}}}{{{bonus intelligence|}}}{{{active intelligence|}}}|{{#expr:{{{active spell damage|0}}}+({{{bonus intelligence|0}}}+{{{active intelligence|0}}})*{{Attribute bonuses|bonus spell damage}} round2}}}} |
||
|bonus_health = {{{bonus health|}}} |
|bonus_health = {{{bonus health|}}} |
||
|bonus_health_regeneration_flat = {{{bonus health regeneration flat|}}} |
|bonus_health_regeneration_flat = {{{bonus health regeneration flat|}}} |
||
+ | |bonus_health_regeneration_percent = {{{bonus health regeneration percent|}}} |
||
|bonus_armor = {{{bonus armor|}}} |
|bonus_armor = {{{bonus armor|}}} |
||
|bonus_attack_speed = {{{bonus attack speed|}}} |
|bonus_attack_speed = {{{bonus attack speed|}}} |
||
Строка 259: | Строка 261: | ||
| bonus_health = String |
| bonus_health = String |
||
| bonus_health_regeneration_flat = String |
| bonus_health_regeneration_flat = String |
||
+ | | bonus_health_regeneration_percent = String |
||
| bonus_armor = String |
| bonus_armor = String |
||
| bonus_attack_speed = String |
| bonus_attack_speed = String |
Версия от 17:08, 17 декабря 2018
Этот шаблон определяет таблицу «items». Просмотр таблицы.
Использование и пример
Blade of Shadows | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A strange draining purple mist encases the edge, darkening it any its surroundings to the point of invisibility. | |||||||||||||
Стоимость
225 Н/Д
| |||||||||||||
|
{{Item infobox | game = | title = | image = | image1 = | image2 = | image3 = | image4 = | image5 = | lore = | modifier = | type = | base = | secret = | side lane = | mid lane = <!-- For DotA --> | neutral = | tier = <!-- Neutral Tiers --> | removed = | unreleased = | old = <!-- For DotA --> | hidden = <!-- For items with upgrade levels --> | basic = | alert allies = | disassemble = | shareable = | destroyable = | droppable = | item cost = | sell value = <!-- Automatically calculates Sell Value base on item cost, and divides by charges or count base on Charges and Max Stack. --> | sellable = <!-- Set Sellable value to "No" and leave Sell Value as <blank> for unsellable items --> | initial stock = | max stock = | restock time = | max stack = | availability = | active = | charges = | passive = | passive2 = | passive3 = | bonus strength = | bonus agility = | bonus intelligence = | bonus primary attribute = | bonus secondary attributes = | bonus health = | bonus health regen = | bonus max hp health regen = | bonus mana = | bonus mana regen = | bonus armor = | bonus evasion = | bonus magic resistance = | bonus status resistance = | bonus movement speed flat = | bonus movement speed percent = | bonus turn rate = | bonus cooldown reduction = | bonus debuff duration = | bonus mana loss reduction = | bonus attack damage = | bonus attack damage melee = | bonus attack damage ranged = | bonus base attack damage = | bonus spell damage = | bonus attack speed = | bonus attack animation speed = | bonus projectile speed = | bonus attack range = | bonus attack range melee = | bonus attack range ranged = | bonus cast range = | bonus lifesteal = | bonus spell lifesteal = | bonus heal amplification = | bonus health regen amplification = | bonus mana restore amplification = | bonus mana regen amplification = | bonus lifesteal amplification = | bonus spell lifesteal amplification = | bonus vision = | bonus day vision = | bonus night vision = | bonus gold = | bonus experience = | used in 1 = | used in 2 = | used in 3 = | used in 4 = | used in 5 = | used in 6 = | used in 7 = | used in 8 = | recipe 1 = | recipe 2 = | recipe 3 = | recipe 4 = | recipe 5 = | recipe 6 = | recipe 7 = | recipe 8 = | recipe cost = }}
Определения
Атрибут | Описание |
---|---|
game | Used as a filter for cargo. Use this only for items that are not part of the default Dota 2 game. |
title | The name of the item. Copy the exact in-game name. |
image | The item's icon. It should have one, otherwise put file:Unknown icon.png as a placeholder. |
image# | Some items have multiple variations of their icons. In those cases, list them all with these parameters. Can list up to 5 icons. |
lore | Lore text of the item, which is located at the very bottom of the item tooltips. Leave blank if no lore is present. |
modifier | The item's modifier, responsible or everything the item does. Use the official intern modifier name. The modifier names can be found out with the help of the Console. |
shop | Under which category is the item listed in the shop? Options: Consumables, Attributes, Equipment, Miscellaneous, Accessories, Support, Magical, Weapons, Armor, Artifacts, Secret, Roshan Drop, Removed Item, Seasonal Event, Drop Only, Neutral |
base | Is this item available at the base shops? If yes, set this to yes. If no, leave this out. |
secret | Is this item available at the secret shops? If yes, set this to yes. If no, leave this out. |
side lane | Is this item available at the side lane shops? If yes, set this to yes. If no, leave this out. |
tier | The tier of neutral items. Do not use on other items. |
passive | If the item has a passive ability, put the name of the ability here. Can put 2 passive abilities (passive/passive2) |
active | If the item has an active ability, put the naem of the ability here. |
can-alert-allies | Does ALT-pinged the item send an alert out to the allies? If yes, set this to yes. If no, leave this out. |
can-disassemble | Can this upgraded item be Disassembled? If yes, set this to yes. If no, leave this out. |
charges | Does this item have a limited amount of uses? If yes, put the amount here. |
initial stock | Can this item go out of stock? If yes, put the initial stock count here. |
max stock | In conjunction with initial stock, put the max stock count of the item here. |
restock time | In conjunction with initial and max stock, put the amount of time in seconds it takes for the item to restock. |
bonus strength | Put strength bonus here. |
bonus agility | Put agility bonus here. |
bonus intelligence | Put intelligence bonus here. |
bonus primary attribute | Put primary attribute bonus here. |
bonus secondary attributes | Put secondary attribute bonus here. |
bonus health | Put health bonus here. |
bonus health regen | Put health regen bonus here. |
bonus max hp health regen | Put health bonus based on maximum health here. |
bonus mana | Put mana bonus here. |
bonus mana regen | Put mana regen bonus here. |
bonus armor | Put armor bonus here. |
bonus evasion | Put evasion bonus here. |
bonus magic resistance | Put magic resistance bonus here. |
bonus status resistance | Put status resistance bonus here. |
bonus movement speed flat | Put flat movement speed bonus here. |
bonus movement speed percent | Put percentage-based movement speed bonus here. |
bonus turn rate | Put turn rate bonus here. |
bonus cooldown reduction | Put cooldown reduction bonus here. |
bonus debuff duration | Put debuff duration bonus here. |
bonus mana loss reduction | Put mana loss reduction bonus here. |
bonus attack damage | Put attack damage bonus here. |
bonus attack damage melee | Put melee attack damage bonus here. |
bonus attack damage ranged | Put ranged attack damage bonus here. |
bonus base attack damage | Put base attack damage bonus here. |
bonus spell damage | Put spell damage amplification bonus here. |
bonus attack speed | Put attack speed bonus here. |
bonus attack animation speed | Put attack animation speed bonus here. |
bonus projectile speed | Put attack projectile speed bonus here. |
bonus attack range | Put attack range bonus here. |
bonus attack range melee | Put melee attack range bonus here. |
bonus attack range ranged | Put ranged attack range bonus here. |
bonus cast range | Put cast range bonus here. |
bonus lifesteal | Put lifesteal bonus here. |
bonus spell lifesteal | Put spell lifesteal bonus here. |
bonus heal amplification | Put heal amplification bonus here. |
bonus health regen amplification | Put health regen amplification bonus here. |
bonus mana restore amplification | Put mana restore amplification bonus here. |
bonus mana regen amplification | Put mana regen amplification bonus here. |
bonus lifesteal amplification | Put lifesteal amplification bonus here. |
bonus spell lifesteal amplification | Put spell lifesteal amplification bonus here. |
bonus vision | Put vision range bonus here. |
bonus day vision | Put day vision range bonus here. |
bonus night vision | Put night vision range bonus here. |
bonus gold | Put periodic gold bonus here. |
bonus experience | Put experience gain bonus here. |
used in # | If this item is a component of another item, list that item here. Can list up to 5 items (used in 1/used in 2/etc). |
recipe # | If this is an upgraded item, list its components here. Can list up to 5 component items (recipe 1/recipe 2/etc). |
recipe cost | If this upgraded item has a recipe, list its cost here. |
item cost | The total gold cost of this item. Use only on basic abilities. Upgraded abilities are getting calculated automatically, based on their components and recipe costs. |
sell value | If an item cannot be bought, but can be sold (i.e. Рошан drops), put its sell value here. Leave out otherwise. |