Хотел сделать кирасу второго уровня, чтобы она собиралась из обычной кирасы + рецепт, брал основу с дагона, ничего не вышло, как это делается?
"item_assault_2"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "1212"
"BaseClass" "item_assault"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
// Item Info
//-------------------------------------------------------------------------------------------------------------
"ItemCost" "10000"
"ItemShopTags" "attack_speed;armor;hard_to_tag"
"ItemQuality" "epic"
"ItemAliases" "ac;assault cuirass"
"ItemDeclarations" "DECLARE_PURCHASES_TO_TEAMMATES | DECLARE_PURCHASES_IN_SPEECH | DECLARE_PURCHASES_TO_SPECTATORS"
// Special
//-------------------------------------------------------------------------------------------------------------
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"bonus_attack_speed" "35 50"
}
"02"
{
"var_type" "FIELD_INTEGER"
"bonus_armor" "10 20"
}
"03"
{
"var_type" "FIELD_INTEGER"
"aura_radius" "900 1200"
}
"04"
{
"var_type" "FIELD_INTEGER"
"aura_attack_speed" "20 40"
}
"05"
{
"var_type" "FIELD_INTEGER"
"aura_positive_armor" "5 10"
}
"06"
{
"var_type" "FIELD_INTEGER"
"aura_negative_armor" "-5 -10"
}
}
}
"item_recipe_assault"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "111" // unique ID number for this item. Do not change this once established or it will invalidate collected stats.
"Model" "models/props_gameplay/recipe.vmdl"
// Item Info
//-------------------------------------------------------------------------------------------------------------
"ItemCost" "1300"
"ItemShopTags" ""
// Recipe
//-------------------------------------------------------------------------------------------------------------
"ItemRecipe" "1"
"ItemResult" "item_assault"
"ItemRequirements"
{
"01" "item_platemail;item_hyperstone;item_chainmail"
}
}
[ W Entity System ]: Cannot create an entity because entity class is NULL -1
[ W General ]: Attempt to purchase 'item_recipe_respawn' failed
[ Developer ]: Client tried to execute invalid order (33). Purchase order specified an invalid or missing item.
"item_respawn"
{
"BaseClass" "item_datadriven"
"ID" "2013"
"AbilityTextureName" "item_respawn"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityCooldown" "0"
"ItemKillable" "0"
"ItemSellable" "1"
"ItemDroppable" "0"
"ItemPermanent" "0"
"ItemCost" "3500"
"ItemStackable" "0"
"ItemShareability" "ITEM_FULLY_SHAREABLE_STACKING"
"ItemInitialCharges" "1"
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"bonus_intellect" "10"
}
"02"
{
"var_type" "FIELD_INTEGER"
"bonus_agility" "10"
}
"03"
{
"var_type" "FIELD_INTEGER"
"bonus_strength" "10"
}
}
}
"item_recipe_respawn"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "2014" // unique ID number for this item. Do not change this once established or it will invalidate collected stats.
"Model" "models/props_gameplay/recipe.mdl"
// Item Info
//-------------------------------------------------------------------------------------------------------------
"ItemCost" "1400"
"ItemShopTags" ""
// Recipe
//-------------------------------------------------------------------------------------------------------------
"ItemRecipe" "1"
"ItemResult" "item_respawn"
"ItemRequirements"
{
"01" "item_ultimate_orb;item_eye_of_destiny"
}
}
"item_eye_of_destiny"
{
"BaseClass" "item_datadriven"
"ID" "2015"
"AbilityTextureName" "item_eye_of_destiny"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityCooldown" "0"
"ItemPurchasable" "0"
"ItemKillable" "0"
"ItemSellable" "1"
"ItemDroppable" "0"
"ItemPermanent" "0"
"ItemCost" "0"
"ItemStackable" "0"
"ItemShareability" "ITEM_FULLY_SHAREABLE_STACKING"
"ItemInitialCharges" "1"
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"duration" "6"
}
}
}
[ W Entity System ]: Cannot create an entity because entity class is NULL -1
[ W General ]: Attempt to purchase 'item_recipe_respawn' failed
[ Developer ]: Client tried to execute invalid order (33). Purchase order specified an invalid or missing item.
"item_respawn"
{
"BaseClass" "item_datadriven"
"ID" "2013"
"AbilityTextureName" "item_respawn"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityCooldown" "0"
"ItemKillable" "0"
"ItemSellable" "1"
"ItemDroppable" "0"
"ItemPermanent" "0"
"ItemCost" "3500"
"ItemStackable" "0"
"ItemShareability" "ITEM_FULLY_SHAREABLE_STACKING"
"ItemInitialCharges" "1"
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"bonus_intellect" "10"
}
"02"
{
"var_type" "FIELD_INTEGER"
"bonus_agility" "10"
}
"03"
{
"var_type" "FIELD_INTEGER"
"bonus_strength" "10"
}
}
}
"item_recipe_respawn"
{
// General
//-------------------------------------------------------------------------------------------------------------
"ID" "2014" // unique ID number for this item. Do not change this once established or it will invalidate collected stats.
"Model" "models/props_gameplay/recipe.mdl"
// Item Info
//-------------------------------------------------------------------------------------------------------------
"ItemCost" "1400"
"ItemShopTags" ""
// Recipe
//-------------------------------------------------------------------------------------------------------------
"ItemRecipe" "1"
"ItemResult" "item_respawn"
"ItemRequirements"
{
"01" "item_ultimate_orb;item_eye_of_destiny"
}
}
"item_eye_of_destiny"
{
"BaseClass" "item_datadriven"
"ID" "2015"
"AbilityTextureName" "item_eye_of_destiny"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityCooldown" "0"
"ItemPurchasable" "0"
"ItemKillable" "0"
"ItemSellable" "1"
"ItemDroppable" "0"
"ItemPermanent" "0"
"ItemCost" "0"
"ItemStackable" "0"
"ItemShareability" "ITEM_FULLY_SHAREABLE_STACKING"
"ItemInitialCharges" "1"
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"duration" "6"
}
}
}
"item_respawn"
{
"BaseClass" "item_datadriven"
"ID" "2013"
"AbilityTextureName" "item_respawn"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityCooldown" "0"
"ItemKillable" "0"
"ItemSellable" "1"
"ItemDroppable" "0"
"ItemPermanent" "0"
"ItemCost" "3500"
"ItemStackable" "0"
"ItemShareability" "ITEM_FULLY_SHAREABLE_STACKING"
"ItemInitialCharges" "1"
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"bonus_intellect" "10"
}
"02"
{
"var_type" "FIELD_INTEGER"
"bonus_agility" "10"
}
"03"
{
"var_type" "FIELD_INTEGER"
"bonus_strength" "10"
}
}
}
"item_respawn"
{
"BaseClass" "item_datadriven"
"ID" "2013"
"AbilityTextureName" "item_respawn"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"
"AbilityCooldown" "0"
"ItemKillable" "0"
"ItemSellable" "1"
"ItemDroppable" "0"
"ItemPermanent" "0"
"ItemCost" "3500"
"ItemStackable" "0"
"ItemShareability" "ITEM_FULLY_SHAREABLE_STACKING"
"ItemInitialCharges" "1"
"AbilitySpecial"
{
"01"
{
"var_type" "FIELD_INTEGER"
"bonus_intellect" "15"
}
"02"
{
"var_type" "FIELD_INTEGER"
"bonus_agility" "15"
}
"03"
{
"var_type" "FIELD_INTEGER"
"bonus_strength" "15"
}
}
"Modifiers"
{
"modifier_item_custom"
{
"Passive" "1"
"IsHidden" "1"
"Attributes" "MODIFIER_ATTRIBUTE_MULTIPLE"
"Properties"
{
"MODIFIER_PROPERTY_STATS_STRENGTH_BONUS" "%bonus_str_agi"
"MODIFIER_PROPERTY_STATS_AGILITY_BONUS" "%bonus_agi"
"MODIFIER_PROPERTY_STATS_INTELLECT_BONUS" "%bonus_int"
}
}
}
}